This commit is contained in:
gnieark 2015-12-12 10:50:44 +01:00
parent 5c93d4da2f
commit ec5e7109d4

View File

@ -39,8 +39,9 @@ switch ($_POST['act']){
$bot1Exists = false;
$bot2Exists = false;
foreach($bots as $bot){
echo $bot['id']."|".$_POST['bot1']."\n";
if($bot['id'] == $_POST['bot1']){
echo $bot['id']."|".$_POST['bot1']."\n";
$bot1 = $bot;
$bot1Exists =true;
}