index 912bb29a093b6be9fbadda5f0ff34196a1c82e1a..c410e70db7b47e410a67239eabdbcacc5f2fd813 100644 (file)
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;