From e80556be742870dfe164d8521e3d640fa1482f7c Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 13 Nov 2005 13:09:24 +0000 Subject: Fixed a bug with stripSlashes. again! --- framework/Web/THttpRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web') diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php index 5bca05ce..a90ee2dd 100644 --- a/framework/Web/THttpRequest.php +++ b/framework/Web/THttpRequest.php @@ -114,7 +114,7 @@ class THttpRequest extends TComponent implements IModule */ public function stripSlashes(&$data) { - return is_array($data)?array_map(array('Prado','stripSlashes'),$data):stripslashes($data); + return is_array($data)?array_map(array($this,'stripSlashes'),$data):stripslashes($data); } /** -- cgit v1.2.3