Skip to content

Commit 4860b3e

Browse files
author
Sylwester Szytula
committed
[BUGFIX] Overlay record with language specific variables if translation is available
1 parent db76634 commit 4860b3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Classes/Controller/AbstractFluxController.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,10 @@ public function getRecord(): array
585585
1729864698
586586
);
587587
}
588+
589+
if (is_array($record)) {
590+
$record = $tsfe->sys_page->getLanguageOverlay($table, $record);
591+
}
588592

589593
if ($record['_LOCALIZED_UID'] ?? false) {
590594
$record = array_merge(

0 commit comments

Comments
 (0)