diff --git a/src/Model/Multilingual.php b/src/Model/Multilingual.php index 13a88db..238c617 100644 --- a/src/Model/Multilingual.php +++ b/src/Model/Multilingual.php @@ -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';