From 8e23ac351e68ee069929b508209067dc1e238698 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 2 Feb 2009 06:52:26 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_userinfo.inc | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.30.2