Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidoo committed Nov 29, 2023
1 parent 234edff commit 138a932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Group/Registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ private function handleDcMultilingual(string $table, int $rowId, string $name):
return null;
}

$pidColumn = $dca['config']['langPid'] ?? 'langPid';
$languageColumn = $dca['config']['langColumnName'] ?? 'language';
$pidColumn = $GLOBALS['TL_DCA'][$table]['config']['langPid'] ?? 'langPid';
$languageColumn = $GLOBALS['TL_DCA'][$table]['config']['langColumnName'] ?? 'language';

$result = $this->connection->fetchOne(
sprintf(
Expand Down

0 comments on commit 138a932

Please sign in to comment.