From 44af1915631b14834b110cd49d3b78368ab39a5c Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 26 Mar 2006 07:55:09 +0000 Subject: [PATCH] When we use TYPE_NOCLEAN and $this->magicquotes is on, be sure to strip slashes --- kernel.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/kernel.php b/kernel.php index a6391a2..ccd4510 100644 --- a/kernel.php +++ b/kernel.php @@ -1110,7 +1110,14 @@ class ISSO } else if ($type == TYPE_NOCLEAN) { - $value = $value; + if ($this->magicquotes) + { + $value = str_replace(array('\"', "\'"), array('"', "'"), $value); + } + else + { + $value = $value; + } } else { -- 2.22.5