From fe7f9da11c2aa104921ad7bb99abf721b690392d Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 24 Mar 2010 10:48:43 +0000 Subject: [PATCH] updated templates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17049 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 167009672..3c37e665c 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -333,7 +333,7 @@ class plugin /* Save values to object */ foreach ($this->attributes as $val){ - if ($this->acl_is_writeable($val) && isset ($_POST["$val"])){ + if (isset ($_POST["$val"]) && $this->acl_is_writeable($val)){ /* Check for modifications */ if (get_magic_quotes_gpc()) { $data= stripcslashes($_POST["$val"]); -- 2.30.2