diff --git a/etemplate/inc/class.boetemplate.inc.php b/etemplate/inc/class.boetemplate.inc.php index 1eb654ac0f..ed3e8713fd 100644 --- a/etemplate/inc/class.boetemplate.inc.php +++ b/etemplate/inc/class.boetemplate.inc.php @@ -712,7 +712,8 @@ foreach($new as $k => $v) { - if (!is_array($v) || !isset($old[$k])) + if (!is_array($v) || !isset($old[$k]) || // no array or a new array + isset($v[0]) && isset($v[count($v)-1])) // or no associative array, eg. selecting multiple accounts { $old[$k] = $v; }