Skip to content

Commit

Permalink
Merge branch 'hotfix/3.0.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhj committed May 31, 2019
2 parents 390b12d + 8811dcb commit 35fe458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/Multilingual.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ public static function getLangColumn()
{
static::ensureDataContainerIsLoaded();

if ($GLOBALS['TL_DCA'][static::getTable()]['config']['langColumn']) {
return $GLOBALS['TL_DCA'][static::getTable()]['config']['langColumn'];
if ($GLOBALS['TL_DCA'][static::getTable()]['config']['langColumnName']) {
return $GLOBALS['TL_DCA'][static::getTable()]['config']['langColumnName'];
}

return 'language';
Expand Down

0 comments on commit 35fe458

Please sign in to comment.