diff --git a/src/Resources/contao/classes/StyleManager.php b/src/Resources/contao/classes/StyleManager.php index 438cc01..0813f0b 100644 --- a/src/Resources/contao/classes/StyleManager.php +++ b/src/Resources/contao/classes/StyleManager.php @@ -330,7 +330,15 @@ public static function deserializeValues($arrValue){ { foreach ($values as $alias => $arrItem) { - $arrValue[ $arrItem['id'] ] = $arrItem['value']; + if(!is_array($arrItem)) + { + // @deprecated: to be removed in Version 3.0. (interception of storage based on the alias) + $arrValue[ $alias ] = $arrItem; + } + else + { + $arrValue[ $arrItem['id'] ] = $arrItem['value']; + } } }