From 742ed94cff00f2cdedfbe486dd61521af9151023 Mon Sep 17 00:00:00 2001 From: Harvie Date: Tue, 21 Dec 2010 20:14:19 +0100 Subject: [PATCH] Now MySQL_real_escaping mail text... --- wwwroot/inc/eventz/send.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/inc/eventz/send.inc b/wwwroot/inc/eventz/send.inc index bf217be..6ea91aa 100644 --- a/wwwroot/inc/eventz/send.inc +++ b/wwwroot/inc/eventz/send.inc @@ -70,7 +70,7 @@ return false; if ($mail_to_id) { - $mail_text=nodes::processContent($mail_text); + $mail_text=mysql_real_escape_string(nodes::processContent($mail_text)); global $htmlparse; if ($htmlparse) { $error=$htmlparse; -- 2.30.2