summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b7cd41)
raw | patch | inline | side by side (parent: 2b7cd41)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Aug 2006 06:12:15 +0000 (06:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Aug 2006 06:12:15 +0000 (06:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4477 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history |
index 3ebd529b95ce2d1bbddeb48fe9fdb8ae579d3335..d1af40e8564fe97326ecaabf22e21edd56b1906f 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
foreach ($this->attributes as $val){
if (chkacl ($this->acl, "$val") == "" && isset ($_POST["$val"])){
/* Check for modifications */
- if (get_magic_quotes_gpc()) {
+ if ((get_magic_quotes_gpc()) && !is_array($_POST["$val"])) {
$data= stripcslashes($_POST["$val"]);
} else {
$data= $this->$val = $_POST["$val"];