Code

Fixed app creation.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Sep 2006 10:41:55 +0000 (10:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Sep 2006 10:41:55 +0000 (10:41 +0000)
When releasemanagement was disabled, apps were created on the base, without ou=apps,

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4727 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_applicationManagement.inc

index aebe706dac00c4117001becb25736e58fa496015..5c88b5756f006427b6c1e93bde3ad8544ca26c13 100644 (file)
@@ -401,12 +401,12 @@ class applicationManagement extends plugin
     $Releases   = $this->getReleases($base);
 
     if(!$this->enableReleaseManagement){
-      $use_base = $base;
+      $use_base = "ou=apps,".$base;
     }else{
       if(isset($Releases[$release])){
         $use_base  = $release;
       }else{
-        $use_base  = $base;
+        $use_base  = "ou=apps,".$base;
       }
     }