From bf91e934ff58f65b7fafc5f0df41c2cf1ad6c410 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 17 Feb 2006 10:04:02 +0000 Subject: [PATCH] Fixed save_object behavior for servService git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2703 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servService.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; } } -- 2.30.2