From: Harvie Date: Tue, 21 Dec 2010 19:14:19 +0000 (+0100) Subject: Now MySQL_real_escaping mail text... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=742ed94cff00f2cdedfbe486dd61521af9151023;p=mirrors%2FKyberia-bloodline.git Now MySQL_real_escaping mail text... --- 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;