From: hickert Date: Mon, 17 Jul 2006 11:25:38 +0000 (+0000) Subject: Skip attributes with no write access X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fa4fe4a9b7c4b5a886de522a2dc3549f5dbf121d;p=gosa.git Skip attributes with no write access git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4178 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"]);