From: hickert Date: Wed, 8 Jul 2009 14:08:16 +0000 (+0000) Subject: Updated post handling in ARP Goto implementation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d3a7b85d2ff84a23ba2758d107bb1e42daa964cf;p=gosa.git Updated post handling in ARP Goto implementation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13913 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']); + } } }