From: niekt0 Date: Fri, 17 Dec 2010 01:35:10 +0000 (+0100) Subject: fixed removing end of lines X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=92d9f727fd548b905fbb5db29d2d0c563cd4581b;p=mirrors%2FKyberia-bloodline.git fixed removing end of lines --- diff --git a/wwwroot/inc/nodes.inc b/wwwroot/inc/nodes.inc index 46cbeaa..e328250 100644 --- a/wwwroot/inc/nodes.inc +++ b/wwwroot/inc/nodes.inc @@ -148,7 +148,7 @@ function processContent($node_content) { } $node_content = eregi_Replace("((( )|(\n)|(^))+)(http://|ftp://|https://)([[:alnum:]][^,[:space:]]*)","\\2\\6\\7",$node_content); - $node_content = mysql_real_escape_string($node_content); + //$node_content = mysql_real_escape_string($node_content); once is enough } return $node_content;