Migration to PDO database abstraction layer
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / addEvent.inc
index 756cfe4d1deaa75472431698ec379e012e5c8f6e..90dfcee3dc1a664e1050414bd72fbdf62d6478f2 100644 (file)
@@ -37,9 +37,9 @@ function addEvent() {
     $params['node_content'] .= "<br />node_parent: <a href='$node_parent'>".$node_parent."</a>";
     $params['node_content'] .= "<br />node_system_access: ".$node_system_access;
     $params['node_content'] .= "<br />node_creator: <a href='$node_creator'>".$node_creator."</a>";
-    $params['node_content'] = mysql_real_escape_string($params['node_content']);
+    $params['node_content'] = db_escape_string($params['node_content']);
     nodes::addNode($params);
 
     return true;
 }
-?>
\ No newline at end of file
+?>
This page took 0.109203 seconds and 4 git commands to generate.