fix fatal error: unsupported operand type in resources_ui line 428; reported on community tracker#3006

This commit is contained in:
Klaus Leithoff 2011-07-08 07:50:06 +00:00
parent 8efaf4f349
commit 9b782df25f

View File

@ -108,7 +108,7 @@ class bo_acl
$perm_cats[$cat['id']] = $s;
}
}
return $perm_cats;
return isset($perm_cats)?$perm_cats:array();
}