summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f15917)
raw | patch | inline | side by side (parent: 0f15917)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Oct 2007 11:53:48 +0000 (11:53 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Oct 2007 11:53:48 +0000 (11:53 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7537 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 19e897ea87153d3487e02e76694a2eff534b3055..422bcd7cdbe5accaf5b224adeaa9157637effcff 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
foreach ($config->tdepartments as $tdn => $tag){
if (preg_match("/$tdn$/", $dn)){
if (strlen($tdn) > $size){
+ $size= strlen($tdn);
$ttag= $tag;
}
}