From 14371203647afa0c4f6b7b30c5b8ab9fcdf03336 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 22 Mar 2005 19:37:44 +0000 Subject: [PATCH] Simplified ISSO::escape() a little. --- kernel.php | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/kernel.php b/kernel.php index 3bdb771..11c159b 100644 --- a/kernel.php +++ b/kernel.php @@ -442,15 +442,8 @@ class Shared_Object_Framework { return $_isso->db->escape_string(stripslashes($str)); } - else - { - return $str; - } - } - else - { - return $str; } + return $str; } else { @@ -460,15 +453,8 @@ class Shared_Object_Framework { return $_isso->db->escape_string($str); } - else - { - return addslashes($str); - } - } - else - { - return addslashes($str); } + return addslashes($str); } } -- 2.43.5