mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
"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:
parent
678d4d2bb5
commit
92a2ad7da7
@ -222,7 +222,7 @@ class calendar_so
|
|||||||
$sql = '';
|
$sql = '';
|
||||||
if ($cat_id)
|
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);
|
$cats = $GLOBALS['egw']->categories->return_all_children($cat_id);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user