From 2a15c7fe38f026aace68f1512f1bd7d5d2fb2f53 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 8 Jun 2006 09:01:33 +0000 Subject: [PATCH] Fixed save_object git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3708 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_serverService.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_serverService.inc b/plugins/admin/systems/class_serverService.inc index f88ea3486..8f1058a92 100644 --- a/plugins/admin/systems/class_serverService.inc +++ b/plugins/admin/systems/class_serverService.inc @@ -149,7 +149,7 @@ class ServerService extends plugin /* Abort dialog */ if(isset($_POST['SaveService'])){ - + $this->dialog->save_object(); $msgs = $this->dialog->check(); if(count($msgs)){ foreach($msgs as $msg){ @@ -157,6 +157,10 @@ class ServerService extends plugin } }else{ $this->plugins[$this->current] = $this->dialog; + $tmp = get_object_vars($this->dialog); + foreach($tmp as $name => $value){ + $this->plugins[$this->current]->$name = $value; + } $this->current = ""; $this->dialog = NULL; $this->backup = NULL; -- 2.30.2