"Fix for bug #1990 from Hans-Juergen Tappe:

Fix a typo which prevents categories which come in as an array to be handled correctly."
This commit is contained in:
Ralf Becker 2009-07-18 12:07:17 +00:00
parent 678d4d2bb5
commit 92a2ad7da7

View File

@ -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);
}