From 29f2bdf948c18e0bc07e3d4aaf52fc934f1fdd92 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 1 Aug 2013 12:59:45 +0000 Subject: [PATCH] allways return an array, easier then copying with null in various places --- resources/inc/class.bo_acl.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/inc/class.bo_acl.inc.php b/resources/inc/class.bo_acl.inc.php index 042c3996af..03632aeb4e 100755 --- a/resources/inc/class.bo_acl.inc.php +++ b/resources/inc/class.bo_acl.inc.php @@ -95,6 +95,7 @@ class bo_acl $cats = $this->egw_cats->return_sorted_array(0,false,'','','',true,$parent_id); #_debug_array($cats); if (!is_array($cats)) $cats = array(); + $perm_cats = array(); foreach($cats as $key=>$cat) { #echo "key:$key"._debug_array($value)."
"; #_debug_array($cat)."hier
";