From fa4fe4a9b7c4b5a886de522a2dc3549f5dbf121d Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 17 Jul 2006 11:25:38 +0000 Subject: [PATCH] Skip attributes with no write access git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4178 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_plugin.inc b/include/class_plugin.inc index e9a9493f0..4e45a8631 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -267,7 +267,7 @@ class plugin { /* Save values to object */ foreach ($this->attributes as $val){ - if (chkacl ($this->acl, "$val") == "" && isset ($_POST["$val"])){ + if (obj_is_writable($this->dn,get_class($this),$val) && isset ($_POST["$val"])){ /* Check for modifications */ if (get_magic_quotes_gpc()) { $data= stripcslashes($_POST["$val"]); -- 2.30.2