From 528fa96eb3761023b3300392958ce701101d945e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 30 Mar 2005 08:50:21 +0000 Subject: [PATCH] Added force paramater on ISSO::escape to disable magic quotes fix. --- kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel.php b/kernel.php index 5d7755b..315f162 100644 --- a/kernel.php +++ b/kernel.php @@ -430,11 +430,11 @@ class Shared_Object_Framework * * @return str String that has slashes added */ - function escape($str, $binary = false) + function escape($str, $binary = false, $force = false) { global $_isso; - if ($this->magicquotes) + if ($this->magicquotes AND !$force) { if (isset($_isso->db) AND $binary) { -- 2.43.5