From d3a7b85d2ff84a23ba2758d107bb1e42daa964cf Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 8 Jul 2009 14:08:16 +0000 Subject: [PATCH] Updated post handling in ARP Goto implementation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13913 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/class_systemManagement.inc | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 5e1f0c09a..bed0165bb 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -319,18 +319,22 @@ class systems extends plugin if($this->systab instanceOf ArpNewDeviceTabs && isset($_POST['edit_finish']) && - $this->systab->by_object['ArpNewDevice']->gotoIntegration ){ + isset($_POST['gotoIntegration'])){ + $this->systab->save_object(); - /* Check tabs, will feed message array */ - $message = $this->systab->check(); - if(count($message)){ - msg_dialog::displayChecks($message); - }else{ - $s_action = "SelectedSystemType"; - $this->systab->save(); - $this->systab = null; - unset($_POST['edit_finish']); + if($this->systab->by_object['ArpNewDevice']->gotoIntegration){ + + /* Check tabs, will feed message array */ + $message = $this->systab->check(); + if(count($message)){ + msg_dialog::displayChecks($message); + }else{ + $s_action = "SelectedSystemType"; + $this->systab->save(); + $this->systab = null; + unset($_POST['edit_finish']); + } } } -- 2.30.2