X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;ds=inline;f=wwwroot%2Finc%2Feventz%2Fput.inc;fp=wwwroot%2Finc%2Feventz%2Fput.inc;h=a688f5bd6146bfbff35b3c56c9edc144677e9353;hb=78f1a5f44941de2459b71c375e36cf88227c689c;hp=06ec5634b7e27ac3b1449cb420e2e4df856a17b6;hpb=d068d94b5e62de2f80164fd8062adce6e0ad93ae;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/put.inc b/wwwroot/inc/eventz/put.inc index 06ec563..a688f5b 100644 --- a/wwwroot/inc/eventz/put.inc +++ b/wwwroot/inc/eventz/put.inc @@ -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 {