From 8e4cc068ad4877feb9be20c37474c6c3cbfdd364 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 18 Jun 2007 10:53:13 +0000 Subject: [PATCH] Fixed mime and app list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6614 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/applications/class_applicationManagement.inc | 2 +- plugins/admin/mimetypes/class_mimetypeManagement.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.30.2