index 65cdfdfd9ff0c606b93412305d910ce55f3b4350..4045821ba85e0d5311ce31f6360678db2e522c6c 100644 (file)
$found = FALSE;
foreach($info['acl'] as $cat => $data){
$found = FALSE;
foreach($info['acl'] as $cat => $data){
- /* Skip self acls?
- */
- if($skip_self_acls && preg_match("//s",$data['0'])) continue;
+ /* Skip self acls? */
+ if($skip_self_acls && isset($data['0']) && preg_match("//s",$data['0'])) continue;
if(is_array($module)){
foreach($module as $mod){
if(is_array($module)){
foreach($module as $mod){