forked from halo-battle/game
Fix for PHP 7.2 compatibility
This commit is contained in:
parent
162dd444bd
commit
2be9fcd5c3
12 changed files with 21 additions and 15 deletions
|
|
@ -46,7 +46,10 @@ $page = 'flotte1';
|
|||
}
|
||||
|
||||
//Calcul du nombre de slot disponible et vérouillage de l'envoie si besoin
|
||||
$nbFlottes = count($flottes);
|
||||
if ($flottes)
|
||||
$nbFlottes = count($flottes);
|
||||
else
|
||||
$nbFlottes = 0;
|
||||
if (SURFACE == "asteroide")
|
||||
{
|
||||
if ($planete->batiments[2] == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue