From: cajus Date: Fri, 12 Oct 2007 11:53:48 +0000 (+0000) Subject: Re-checkin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=434d0b43a4c4c66c7733290d17cfee4c50d9a168;p=gosa.git Re-checkin git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7537 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 19e897ea8..422bcd7cd 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -766,6 +766,7 @@ function get_module_permission($acl_array, $module, $dn, $checkTag= TRUE) foreach ($config->tdepartments as $tdn => $tag){ if (preg_match("/$tdn$/", $dn)){ if (strlen($tdn) > $size){ + $size= strlen($tdn); $ttag= $tag; } }