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:52:48 +00:00
parent 930c9a9051
commit 4d2202563c

View File

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