From 491b363812d77f586e5acebbe10481f8b91211db Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 14 Mar 2005 00:16:03 +0000 Subject: [PATCH] Only turn on magicquotes in exec_sanitize_data() if we are supposed to... --- kernel.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel.php b/kernel.php index 96dfb33..3bdb771 100644 --- a/kernel.php +++ b/kernel.php @@ -481,7 +481,10 @@ class Shared_Object_Framework $this->i =& $this->input; $this->in =& $this->input; // we're now using magic quotes - $this->magicquotes = 1; + if ($this->escapestrings) + { + $this->magicquotes = 1; + } } } -- 2.43.5