From: hickert Date: Fri, 17 Feb 2006 10:04:02 +0000 (+0000) Subject: Fixed save_object behavior for servService X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bf91e934ff58f65b7fafc5f0df41c2cf1ad6c410;p=gosa.git Fixed save_object behavior for servService git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2703 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc index 4871be46f..b3411bdf7 100644 --- a/plugins/admin/systems/class_servService.inc +++ b/plugins/admin/systems/class_servService.inc @@ -226,10 +226,11 @@ class servservice extends plugin function save_object() { if (isset($_POST['servicetab'])){ - plugin::save_object(); - + $tmp = $this->goTimeSource; + /* Save checkbox state */ foreach ($this->additionaloc as $oc => $dummy){ + if($oc == "goNtpServer") continue; if (chkacl($this->acl, $oc) == ""){ if (isset($_POST[$oc]) && $_POST[$oc] == '1'){ $this->objectclasses[$oc]= $oc; @@ -252,6 +253,8 @@ class servservice extends plugin } else { $this->goShareServer = false; } + $this->goTimeSource = array(); + $this->goTimeSource = $tmp; } }