From: hickert Date: Wed, 2 Apr 2008 08:19:05 +0000 (+0000) Subject: Updated functions inc X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9a9e82f8c2ea03ca2b691b514e930fe0430d5ec6;p=gosa.git 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 --- 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);