contao-community-alliance / meta-palettes

Dynamic configured palettes for contao.
6 stars 8 forks source link

Do not check if selector is in __selector__ sub array if none exists. #12

Closed discordier closed 11 years ago

discordier commented 11 years ago

in Line https://github.com/bit3/contao-meta-palettes/blob/57b24eabf04bba10050e4e056cad2caf1fa980bf/src/MetaPalettes.php#L286 There must be checked if the key __selector__ exists in the array $GLOBALS['TL_DCA'][$strTable]['palettes']