Code

Updated server service.
[gosa.git] / plugins / admin / mimetypes / class_mimetypeManagement.inc
index 0f3360c17cbbde00331393b267c02ea7330fd98b..598027771eacd501d0bf3f50db3682a36a20d28e 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 */
@@ -583,9 +583,9 @@ class mimetypeManagement extends plugin
     }
 
     /* Automatically disable status for pasting */
-    if(!$this->CopyPasteHandler->entries_queued()){
-      $this->start_pasting_copied_objects = FALSE;
-    }
+    #if(!$this->CopyPasteHandler->entries_queued()){
+    #  $this->start_pasting_copied_objects = FALSE;
+    #}
     return("");
   }