.
This commit is contained in:
parent
9c74f4cef4
commit
9dfefacef9
|
@ -288,7 +288,8 @@ switch ($_POST['act']){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(!preg_match('/^[0-9]+,[0-9]+$/',$anwserPlayerJson['play'])){
|
if ((!isset($anwserPlayerJson['play']))
|
||||||
|
OR (!preg_match('/^[0-9]+,[0-9]+$/',$anwserPlayerJson['play']))){
|
||||||
echo json_encode(array(
|
echo json_encode(array(
|
||||||
'target' => '',
|
'target' => '',
|
||||||
'log' => $fullLogs.$currentBot['name']." a fait une réponse non conforme, il perd."));
|
'log' => $fullLogs.$currentBot['name']." a fait une réponse non conforme, il perd."));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user