Code

Updated server service.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Jul 2008 11:14:36 +0000 (11:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Jul 2008 11:14:36 +0000 (11:14 +0000)
-Service restore wasn't working. (If service was edited and 'abort' pressed.)

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

gosa-plugins/systems/admin/systems/class_serverService.inc

index 5282d8f1f67ece71d685cc4d85efe5478efd3594..1f1f8229c3c86e7168df8bc890139693930c9523 100644 (file)
@@ -210,7 +210,7 @@ class ServerService extends plugin
        Restore vars with values before editing */
     if(isset($_POST['CancelService']) && !empty($this->current)){
       if($this->backup == NULL){
-        $this->plugins[$this->current] = new $this->current($this->config,$this->dn);
+        $this->plugins[$this->current] = new $this->current($this->config,$this->dn,$this);
         $this->plugins[$this->current]-> set_acl_base($this->acl_base);
         $this->plugins[$this->current]-> set_acl_category(preg_replace("/\/$/","",$this->acl_category));