diff --git a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc
index 62a17ca7647217996a83852d028b634dd3ed1e4a..78ec8dede967db3de03095669ac666ad1e540fdb 100644 (file)
/* Save configuration for internal use */
$this->config = &$config;
$this->ui = &$ui;
- $this->acl_base = $this->config->current['BASE'];
/* Check if copy & paste is activated */
if($this->config->boolValueIsTrue("MAIN","COPYPASTE")){
$this->DivListApplication = new divListApplication($this->config,$this);
if($this->IsReleaseManagementActivated()){
- /* Check if we should enable the release selection */
+ $this->acl_base = $this->config->current['BASE'];
+
+ /* Check if we should enable the release selection */
$this->enableReleaseManagement = true;
/* Hide SubSearch checkbox */
$this->DivListApplication->DisableCheckBox("SubSearch");
+ }else{
+ $this->acl_base = &$this->DivListApplication->selectedBase;
}
/* Set default release */