From 6b8c2d442b1bcbf6364949e8ce693ce0f15753ab Mon Sep 17 00:00:00 2001 From: Daniel Hromada Date: Thu, 9 Dec 2010 01:46:02 +0100 Subject: [PATCH] correcting the type from previous commit --- wwwroot/inc/eventz/configure_content.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2