Skip to content

Commit

Permalink
Merge pull request #54 from schmidoo/fix/undefined-variable
Browse files Browse the repository at this point in the history
Fix undefined variable
  • Loading branch information
m-vo authored Dec 3, 2023
2 parents 234edff + 138a932 commit fb3f068
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 fb3f068

Please sign in to comment.