From: hickert Date: Wed, 25 Jan 2006 07:49:54 +0000 (+0000) Subject: Post improivements X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f08acbf34d0c0a0c2760e382e42435f3768c2306;p=gosa.git Post improivements git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2567 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_glpiAccount.inc b/plugins/admin/systems/class_glpiAccount.inc index 0f11882cd..c6d3197b4 100644 --- a/plugins/admin/systems/class_glpiAccount.inc +++ b/plugins/admin/systems/class_glpiAccount.inc @@ -601,6 +601,9 @@ class glpiAccount extends plugin /* Save data to object */ function save_object() { + if(!isset($_POST['glpi_tpl_posted'])) { + return ; + } plugin::save_object(); foreach($this->attributes as $attrs){ if(isset($_POST[$attrs])){ diff --git a/plugins/admin/systems/glpi.tpl b/plugins/admin/systems/glpi.tpl index 99e72ba8e..70e87c5c5 100644 --- a/plugins/admin/systems/glpi.tpl +++ b/plugins/admin/systems/glpi.tpl @@ -108,3 +108,4 @@ +