From 92a2ad7da741d464aef891c247ab3c8eaadf0402 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 18 Jul 2009 12:07:17 +0000 Subject: [PATCH] "Fix for bug #1990 from Hans-Juergen Tappe: Fix a typo which prevents categories which come in as an array to be handled correctly." --- calendar/inc/class.calendar_so.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index 26ecc626e1..270e9777ca 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -222,7 +222,7 @@ class calendar_so $sql = ''; if ($cat_id) { - if (!is_array($cat_ids) && !@$GLOBALS['egw_info']['user']['preferences']['common']['cats_no_subs']) + if (!is_array($cat_id) && !@$GLOBALS['egw_info']['user']['preferences']['common']['cats_no_subs']) { $cats = $GLOBALS['egw']->categories->return_all_children($cat_id); }