Migration to PDO database abstraction layer
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / put.inc
index 06ec5634b7e27ac3b1449cb420e2e4df856a17b6..a688f5bd6146bfbff35b3c56c9edc144677e9353 100644 (file)
@@ -2,8 +2,8 @@
 function put() {
 
 
-       if (!empty($_POST['nodeshell_id'])) $nodeshell_id = mysql_real_escape_string($_POST['nodeshell_id']);
-       else $nodeshell_id = mysql_real_escape_string($_POST['nodeshell_id_select']);
+       if (!empty($_POST['nodeshell_id'])) $nodeshell_id = db_escape_string($_POST['nodeshell_id']);
+       else $nodeshell_id = db_escape_string($_POST['nodeshell_id_select']);
 
        if (is_array($_POST['node_chosen'])) $put_array = $_POST['node_chosen'];
        else {
This page took 0.097359 seconds and 4 git commands to generate.