diff --git a/src/Dca/Helper.php b/src/Dca/Helper.php index 5a90532b3..cb3b4c209 100644 --- a/src/Dca/Helper.php +++ b/src/Dca/Helper.php @@ -3,7 +3,7 @@ /** * This file is part of MetaModels/core. * - * (c) 2012-2025 The MetaModels team. + * (c) 2012-2026 The MetaModels team. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -19,7 +19,7 @@ * @author Cliff Parnitzky * @author Sven Baumann * @author Ingolf Steinhardt - * @copyright 2012-2025 The MetaModels team. + * @copyright 2012-2026 The MetaModels team. * @license https://github.com/MetaModels/core/blob/master/LICENSE LGPL-3.0-or-later * @filesource */ @@ -213,7 +213,7 @@ public static function prepareLanguageAwareWidget( } $rowClasses = []; - foreach (\array_keys($arrValues) as $langCode) { + foreach (\array_keys($languages) as $langCode) { $rowClasses[] = ($langCode === $fallback) ? 'fallback_language' : 'normal_language'; }