X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fput.inc;h=a688f5bd6146bfbff35b3c56c9edc144677e9353;hb=8f03b4aca1ae066a7fb03e4f5204682932091e08;hp=06ec5634b7e27ac3b1449cb420e2e4df856a17b6;hpb=5f4d5ff6751cd7e562a2dac6cbe32b691298e2ff;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 {