X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fconfigure_content.inc;h=5d31e74c66f2667b7fc77c4f404ec3d467065008;hb=742ed94cff00f2cdedfbe486dd61521af9151023;hp=0d089a9640a2b682b8d5b1657fb2c9c4950b5abb;hpb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/configure_content.inc b/wwwroot/inc/eventz/configure_content.inc index 0d089a9..5d31e74 100644 --- a/wwwroot/inc/eventz/configure_content.inc +++ b/wwwroot/inc/eventz/configure_content.inc @@ -33,9 +33,10 @@ function configure_content() { node_descendant_count,lastdescendant_created,template_id, NOW() from nodes where node_id = '$node_id'"; $db->query($qtiamat); - $qu = "update nodes set node_content = '$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 = '$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;