From: hickert Date: Mon, 2 Feb 2009 06:52:26 +0000 (+0000) Subject: Updated class_userinfo, ACL parsing. Undefined Index 606 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8e23ac351e68ee069929b508209067dc1e238698;p=gosa.git Updated class_userinfo, ACL parsing. Undefined Index 606 -Fixed undefined Index warning, when logging in git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13375 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 912bb29a0..c410e70db 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -602,6 +602,11 @@ class userinfo foreach(str_split($newACL) as $char){ + /* Skip "self" ACLs without combination of rwcdm, they have no effect. + -self flag without read/write/create/... + */ + if(empty($char)) continue; + /* Skip permanent and subtree entries */ if (preg_match('/[sp]/', $acl[$char])){ continue;