Skip to content

Commit

Permalink
Missing ArrayAccess.
Browse files Browse the repository at this point in the history
  • Loading branch information
mducharme committed Jul 24, 2019
1 parent 3b6757d commit 913e701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Charcoal/Model/AbstractModel.php
Expand Up @@ -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);
Expand Down

0 comments on commit 913e701

Please sign in to comment.