From 434d0b43a4c4c66c7733290d17cfee4c50d9a168 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 12 Oct 2007 11:53:48 +0000 Subject: [PATCH] Re-checkin git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7537 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.30.2