diff --git a/Classes/Compiler/AbstractMenuCompiler.php b/Classes/Compiler/AbstractMenuCompiler.php index 4d19000..850159c 100644 --- a/Classes/Compiler/AbstractMenuCompiler.php +++ b/Classes/Compiler/AbstractMenuCompiler.php @@ -66,7 +66,7 @@ protected function generateCacheIdentifierForMenu(string $prefix, array $configu $visibilityAspect = $this->context->getAspect('visibility'); $visibility = $visibilityAspect->includeHiddenPages() ? '-with-hidden' : ''; $root = $this->getCurrentSite()->getRootPageId(); - $identifier = $prefix . '-root-' . $root . '-language-' . $language . '-groups-' . implode('_', $groupIds) . '-' . $visibility . '-' . substr(md5(json_encode($configuration)), 0, 10); + $identifier = $prefix . '-root-' . $root . '-language-' . $language . '-groups-' . md5(implode('_', $groupIds)) . '-' . $visibility . '-' . substr(md5(json_encode($configuration)), 0, 10); return $identifier; }