Code

Fixed Problem with saving new ACL for a tagged department.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 08:29:16 +0000 (08:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 08:29:16 +0000 (08:29 +0000)
-The detection/match routines wasn't matching correctly for departments.

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

gosa-core/include/class_plugin.inc

index 5fd81afbbccc9986874a5efe35996c2a6102e55c..57fc5107d0b1493be47f47d40687ade74c39fdf9 100644 (file)
@@ -1016,7 +1016,7 @@ class plugin
         foreach ($this->config->adepartments as $key => $ntag){
 
           /* This one is bigger than our dn, its not relevant... */
-          if ($len <= strlen($key)){
+          if ($len < strlen($key)){
             continue;
           }