Skip to content

Commit

Permalink
Merge pull request #108 from b13/bugfix/issue-87
Browse files Browse the repository at this point in the history
[BUGFIX] use current prefix for language menu cache identifier
  • Loading branch information
achimfritz authored Aug 1, 2024
2 parents b9c971f + b4d0f9e commit 3f32491
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 @@ -25,7 +25,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 3f32491

Please sign in to comment.