From: hickert Date: Tue, 8 Jul 2008 11:14:36 +0000 (+0000) Subject: Updated server service. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1f4e8dfa1c63c310bae7cf6d7a098887bc51a893;p=gosa.git Updated server service. -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 --- diff --git a/gosa-plugins/systems/admin/systems/class_serverService.inc b/gosa-plugins/systems/admin/systems/class_serverService.inc index 5282d8f1f..1f1f8229c 100644 --- a/gosa-plugins/systems/admin/systems/class_serverService.inc +++ b/gosa-plugins/systems/admin/systems/class_serverService.inc @@ -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));