X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fconfigure_content.inc;h=5d31e74c66f2667b7fc77c4f404ec3d467065008;hb=6b8c2d442b1bcbf6364949e8ce693ce0f15753ab;hp=f726b64ae9c19f04550fb4506eee1c99b5d0314a;hpb=c2adde9035e536b618dba395236f15fda385a9d4;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/configure_content.inc b/wwwroot/inc/eventz/configure_content.inc index f726b64..5d31e74 100644 --- a/wwwroot/inc/eventz/configure_content.inc +++ b/wwwroot/inc/eventz/configure_content.inc @@ -34,9 +34,9 @@ function configure_content() { from nodes where node_id = '$node_id'"; $db->query($qtiamat); - $qu = "update nodes set node_content = '".mysql_real_espace_string($node_content)."' where node_id = '$node_id'"; + $qu = "update nodes set node_content = '".mysql_real_escape_string($node_content)."' where node_id = '$node_id'"; $result = $db->update($qu); - $qu2 = "update node_content set node_content = '".mysql_real_espace_string($node_content)."' where node_id = '$node_id'"; + $qu2 = "update node_content set node_content = '".mysql_real_escape_string($node_content)."' where node_id = '$node_id'"; $result = $db->update($qu2); return true;