From 325bd84d4711ff0bfddb68bf0d0263fa89909bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Fri, 15 Sep 2006 19:37:19 +0000 Subject: [PATCH] fix for bug #1552616 => disapearing resources in calendar --- resources/inc/class.resources_select_widget.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/inc/class.resources_select_widget.inc.php b/resources/inc/class.resources_select_widget.inc.php index 766f73bf9f..fcf6865e8d 100644 --- a/resources/inc/class.resources_select_widget.inc.php +++ b/resources/inc/class.resources_select_widget.inc.php @@ -76,6 +76,7 @@ class resources_select_widget if ($value) { + $value = is_array($value) ? $value : explode(',',$value); foreach((array)$value as $id) { list($res_id,$quantity) = explode(':',$id);