Skip to content

Commit

Permalink
Fix bug with cache identifier in each language
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey <andrey@lepidus.com.br>
Signed-off-by: Jhon <jhon@lepidus.com.br>
  • Loading branch information
JhonathanLepidus committed Jan 28, 2021
1 parent e98aa2e commit 5e34a6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions KeywordCloudBlockPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ function getContents($templateMgr, $request = null) {
$journal = $request->getJournal();
if (!$journal) return '';

$locale = AppLocale::getLocale();
$cacheManager = CacheManager::getManager();
$cache = $cacheManager->getFileCache(
$journal->getId(),
Expand Down

0 comments on commit 5e34a6f

Please sign in to comment.