diff --git a/src/Charcoal/Model/AbstractModel.php b/src/Charcoal/Model/AbstractModel.php index 33036f3e..25f2364c 100644 --- a/src/Charcoal/Model/AbstractModel.php +++ b/src/Charcoal/Model/AbstractModel.php @@ -166,7 +166,7 @@ public function mergeData(array $data) } $property = $this->p($propIdent); - if ($property->l10n() && is_array($val)) { + if ($property['l10n'] && is_array($val)) { $currentValue = json_decode(json_encode($this[$propIdent]), true); if (is_array($currentValue)) { $this[$propIdent] = array_merge($currentValue, $val);