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:47:45 +00:00
parent 48139cfafc
commit 356d4b0db6

View File

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