From db3c92e8ff42bac56d247ddb4926034a4f68d4bc Mon Sep 17 00:00:00 2001 From: gnieark Date: Sat, 12 Dec 2015 10:57:57 +0100 Subject: [PATCH] debog --- src/arenas/Battleship/act.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arenas/Battleship/act.php b/src/arenas/Battleship/act.php index 1be2919..2eb3ada 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -25,11 +25,11 @@ switch ($_POST['act']){ } if ( (!is_numeric($value)) - OR ($value <= $p[1]) + OR ( <= $p[1]) OR ($value >= $p[2]) ) { - error(500,'wrong parameters'); + error(500,'wrong parameters'.$p[0]); die; } $postValues[$p[0]]=$value;