From: Daniel Hromada Date: Thu, 9 Dec 2010 00:46:02 +0000 (+0100) Subject: correcting the type from previous commit X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=6b8c2d442b1bcbf6364949e8ce693ce0f15753ab;p=mirrors%2FKyberia-bloodline.git correcting the type from previous commit --- 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;