diff --git a/airtime_mvc/application/controllers/UpgradeController.php b/airtime_mvc/application/controllers/UpgradeController.php index 39a40f8f7..db9837e6c 100644 --- a/airtime_mvc/application/controllers/UpgradeController.php +++ b/airtime_mvc/application/controllers/UpgradeController.php @@ -152,7 +152,7 @@ class UpgradeController extends Zend_Controller_Action ->findOne(); $airtime_version = $pref->getValStr(); - if (!in_array($airtime_version, ['2.5.1', '2.5.2'])) { + if (!in_array($airtime_version, array('2.5.1', '2.5.2'))) { $this->getResponse() ->setHttpResponseCode(400) ->appendBody("Upgrade to Airtime 2.5.3 FAILED. You must be using Airtime 2.5.1 or 2.5.2 to upgrade.");