From f08acbf34d0c0a0c2760e382e42435f3768c2306 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 25 Jan 2006 07:49:54 +0000 Subject: [PATCH] Post improivements git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2567 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_glpiAccount.inc | 3 +++ plugins/admin/systems/glpi.tpl | 1 + 2 files changed, 4 insertions(+) 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 @@ + -- 2.30.2