From d2465d35ea9f3b817588e92ac36f39663980503b Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Jul 2005 08:32:54 +0000 Subject: [PATCH] IE Psot fix .... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@941 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_plugin.inc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/class_plugin.inc b/include/class_plugin.inc index fdf9cd251..1f89ad083 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -233,7 +233,6 @@ class plugin /* Save values to object */ foreach ($this->attributes as $val){ if (chkacl ($this->acl, "$val") == "" && isset ($_POST["$val"])){ - /* Check for modifications */ if (get_magic_quotes_gpc()) { $data= stripcslashes($_POST["$val"]); @@ -243,7 +242,20 @@ class plugin if ($this->$val != $data){ $this->is_modified= TRUE; } - $this->$val= $data; + + /* Okay, how can I explain this fix ... + * In firefox, disabled option fields aren't selectable ... but in IE you can select these fileds. + * So IE posts these 'unselectable' option, with value = chr(194) + * chr(194) seems to be the   in between the ...option> $val= $data; } } } -- 2.30.2