Skip to content

Commit

Permalink
[TASK] Add int cast for sys_language_uid
Browse files Browse the repository at this point in the history
  • Loading branch information
ayacoo authored and dkd-kaehm committed Dec 11, 2024
1 parent de7d7ef commit 5d659dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/System/UserFunctions/FlexFormUserFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function getTranslation(string $label): ?string
*/
protected function getConnection(array $pageRecord): SolrConnection
{
return GeneralUtility::makeInstance(ConnectionManager::class)->getConnectionByPageId($pageRecord['pid'], (int) $pageRecord['sys_language_uid']);
return GeneralUtility::makeInstance(ConnectionManager::class)->getConnectionByPageId($pageRecord['pid'], (int)$pageRecord['sys_language_uid']);
}

/**
Expand Down

0 comments on commit 5d659dd

Please sign in to comment.