Skip to content

Commit

Permalink
[BUGFIX] use current prefix for language menu cache identifier
Browse files Browse the repository at this point in the history
Fixes: #87
  • Loading branch information
achimfritz committed Jun 27, 2024
1 parent 355780f commit b4d0f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Compiler/LanguageMenuCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class LanguageMenuCompiler extends AbstractMenuCompiler
*/
public function compile(ContentObjectRenderer $contentObjectRenderer, array $configuration): array
{
$cacheIdentifier = $this->generateCacheIdentifierForMenu('list', $configuration);
$cacheIdentifier = $this->generateCacheIdentifierForMenu('language', $configuration);

$excludedLanguages = $contentObjectRenderer->stdWrap($configuration['excludeLanguages'] ?? '', $configuration['excludeLanguages.'] ?? []);
$excludedLanguages = GeneralUtility::trimExplode(',', $excludedLanguages, true);
Expand Down

0 comments on commit b4d0f9e

Please sign in to comment.