From a95e9fbaa5b1fae8c366e4e7e6415fd4df4459fc Mon Sep 17 00:00:00 2001 From: Fritz Michael Gschwantner Date: Thu, 23 May 2019 17:26:34 +0200 Subject: [PATCH] fix lang column name retrieval --- src/Model/Multilingual.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Multilingual.php b/src/Model/Multilingual.php index a612685..d337eae 100644 --- a/src/Model/Multilingual.php +++ b/src/Model/Multilingual.php @@ -133,8 +133,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';