From 5eea5151c5ccc1b58b19a5b153f9ccc67aec5bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Kova=CC=81cs?= Date: Tue, 27 Sep 2016 19:57:26 -0300 Subject: [PATCH] Fixed issue #140 --- src/xgp3.0.0/upload/application/controllers/game/fleet3.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xgp3.0.0/upload/application/controllers/game/fleet3.php b/src/xgp3.0.0/upload/application/controllers/game/fleet3.php index f3edc0168..025393fc5 100755 --- a/src/xgp3.0.0/upload/application/controllers/game/fleet3.php +++ b/src/xgp3.0.0/upload/application/controllers/game/fleet3.php @@ -110,6 +110,7 @@ private function buildPage() $UsedPlanet = false; $MissionSelector = ''; $available_ships = $this->getAvailableShips($_POST); + $missiontype = []; // QUERYS $select = parent::$db->queryFetch( @@ -140,7 +141,7 @@ private function buildPage() $missiontype[8] = $this->langs['type_mission'][8]; } else { - $missiontype = array(); + $missiontype = []; } } elseif ($planettype == 1 or $planettype == 3) {