Code

Updated pluglist - menu creation
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Oct 2008 09:04:37 +0000 (09:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Oct 2008 09:04:37 +0000 (09:04 +0000)
-Robustness., whitespaces shouldn't break the acl parsing.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12684 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_pluglist.inc

index 00645846710cde63a7b0fbe7482a64c2c5f7afb5..81f4a3102bd32d0b87dfcb5eb4d47630a551d002 100644 (file)
@@ -100,6 +100,7 @@ class pluglist {
                }
 
                foreach($acls_to_check as $acl_to_check){
+      $acl_to_check = trim($acl_to_check);
                
                        /* Check if the given acl tag is only valid for self acl entries  
                  <plugin acl="users/user:self" class="user"...