From: hickert Date: Mon, 26 Apr 2010 14:14:13 +0000 (+0000) Subject: Fixed 'root' department name replacement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=933ecbdd14e8e3ce99ca2f57731549304dfdd7b7;p=gosa.git Fixed 'root' department name replacement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17848 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index 84382e4e3..ec66d7f79 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -156,7 +156,7 @@ class departmentManagement extends management static function filterDepLabel($row,$dn,$params,$ou,$pid,$base) { $ou = $ou[0]; - if($dn == $base){ + if(LDAP::convert($dn) == $base){ $ou ="."; } $dn= LDAP::fix(func_get_arg(1));