Code

Fixed mime and app list
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Jun 2007 10:53:13 +0000 (10:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Jun 2007 10:53:13 +0000 (10:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6614 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_applicationManagement.inc
plugins/admin/mimetypes/class_mimetypeManagement.inc

index 401feca714d046abfcd6774765de87686d53e298..bf562185c6f232f553638348ae02dd46da20199f 100644 (file)
@@ -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);
index 0f3360c17cbbde00331393b267c02ea7330fd98b..56a912034851b060cbd9908cf1672b5279044d08 100755 (executable)
@@ -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 */