mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
allways return an array, easier then copying with null in various places
This commit is contained in:
parent
c059a2cfa3
commit
38056379a2
@ -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)."<br>";
|
||||
#_debug_array($cat)."hier<br>";
|
||||
|
Loading…
Reference in New Issue
Block a user