Code

Fixed mimetype search filter
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Jun 2007 05:40:59 +0000 (05:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Jun 2007 05:40:59 +0000 (05:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6605 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/mimetypes/class_mimetypeManagement.inc

index 45f6334254260156d447cdb98c3beaa7e1928210..0f3360c17cbbde00331393b267c02ea7330fd98b 100755 (executable)
@@ -499,7 +499,9 @@ class mimetypeManagement extends plugin
     if($SubSearch){
       $Flags    |= GL_SUBSEARCH;  
     }else{
-      $use_base ="ou=mime,".$use_base;
+      if(!$this->enableReleaseManagement){
+        $use_base ="ou=mime,".$use_base;
+      }
     }
   
     /* Get results and create index */