fix php parse error

This commit is contained in:
Gnieark 2015-12-30 16:12:17 +01:00
parent f51591debf
commit 97d22c4ebe

View File

@ -108,7 +108,7 @@ switch($_POST['act']){
//check name
$rs=mysqli_query($lnMysql,
"SELECT 1 FROM bots
WHERE name='".mysqli_real_escape_string($lnMysql,html_entities($_POST['botName']))."'
WHERE name='".mysqli_real_escape_string($lnMysql,htmlentities($_POST['botName']))."'
AND game='".mysqli_real_escape_string($lnMysql,$_POST['botGame'])."'
AND id <> '".mysqli_real_escape_string($lnMysql,$_POST['botId'])."'"
);