From a962d8cbf729feef2152a8a8c9eafbf9e35e734e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 2 Aug 2005 08:52:47 +0000 Subject: [PATCH] fixed (maybe PHP5 related error) that caused the selection of multiple cats to fail --- etemplate/inc/class.boetemplate.inc.php | 2 ++ 1 file changed, 2 insertions(+) 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]))