diff --git a/etemplate/inc/class.boetemplate.inc.php b/etemplate/inc/class.boetemplate.inc.php index 8d25878b1e..3a88ab9081 100644 --- a/etemplate/inc/class.boetemplate.inc.php +++ b/etemplate/inc/class.boetemplate.inc.php @@ -684,6 +684,8 @@ { if (is_array($new)) { + if (!is_array($old)) $old = (array) $old; + foreach($new as $k => $v) { if (!is_array($v) || !isset($old[$k]))