From 9a9e82f8c2ea03ca2b691b514e930fe0430d5ec6 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 2 Apr 2008 08:19:05 +0000 Subject: [PATCH] Updated functions inc -Method get_ou will now check entries from gosa.conf correctly. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10101 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 5f8c1d0e1..5caf26ea7 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -1153,8 +1153,8 @@ function get_ou($name) "mimetypeou" => "ou=mime,"); /* Preset ou... */ - if (isset($config->current[$name])){ - $ou= $config->current[$name]; + if (isset($config->current[strtoupper($name)])){ + $ou= $config->current[strtoupper($name)]; } elseif (isset($map[$name])) { $ou = $map[$name]; return($ou); -- 2.30.2