fixed (maybe PHP5 related error) that caused the selection of multiple cats to fail

This commit is contained in:
Ralf Becker 2005-08-02 08:52:47 +00:00
parent feb65c8e10
commit a962d8cbf7

View File

@ -684,6 +684,8 @@
{ {
if (is_array($new)) if (is_array($new))
{ {
if (!is_array($old)) $old = (array) $old;
foreach($new as $k => $v) foreach($new as $k => $v)
{ {
if (!is_array($v) || !isset($old[$k])) if (!is_array($v) || !isset($old[$k]))