From: hickert Date: Mon, 18 Jun 2007 10:53:13 +0000 (+0000) Subject: Fixed mime and app list X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8e4cc068ad4877feb9be20c37474c6c3cbfdd364;p=gosa.git Fixed mime and app list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6614 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc index 401feca71..bf562185c 100644 --- a/plugins/admin/applications/class_applicationManagement.inc +++ b/plugins/admin/applications/class_applicationManagement.inc @@ -503,7 +503,7 @@ class applicationManagement extends plugin $res= get_list($Filter, "application", $use_base, array("cn","description","dn","objectClass"), $Flags); foreach ($res as $val){ - $tmp[strtolower($val['cn'][0]).$val['cn'][0]]=$val; + $tmp[strtolower($val['cn'][0]).$val['cn'][0].$val['dn']]=$val; } ksort($tmp); diff --git a/plugins/admin/mimetypes/class_mimetypeManagement.inc b/plugins/admin/mimetypes/class_mimetypeManagement.inc index 0f3360c17..56a912034 100755 --- a/plugins/admin/mimetypes/class_mimetypeManagement.inc +++ b/plugins/admin/mimetypes/class_mimetypeManagement.inc @@ -507,7 +507,7 @@ class mimetypeManagement extends plugin /* Get results and create index */ $res= get_list($Filter, "mimetypes", $use_base, array("cn","description","dn","objectClass"), $Flags); foreach ($res as $val){ - $tmp[strtolower($val['cn'][0]).$val['cn'][0]]=$val; + $tmp[strtolower($val['cn'][0]).$val['cn'][0].$val['dn']]=$val; } /* sort entries */