correcting the type from previous commit
authorDaniel Hromada <hromi@Aphrodité.(none)>
Thu, 9 Dec 2010 00:46:02 +0000 (01:46 +0100)
committerDaniel Hromada <hromi@Aphrodité.(none)>
Thu, 9 Dec 2010 00:46:02 +0000 (01:46 +0100)
wwwroot/inc/eventz/configure_content.inc

index f726b64ae9c19f04550fb4506eee1c99b5d0314a..5d31e74c66f2667b7fc77c4f404ec3d467065008 100644 (file)
@@ -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;
This page took 0.092781 seconds and 4 git commands to generate.