One more time...
This commit is contained in:
parent
cdc88d25e1
commit
d9adba117a
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class UpgradeController extends Zend_Controller_Action
|
||||||
->findOne();
|
->findOne();
|
||||||
$airtime_version = $pref->getValStr();
|
$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()
|
$this->getResponse()
|
||||||
->setHttpResponseCode(400)
|
->setHttpResponseCode(400)
|
||||||
->appendBody("Upgrade to Airtime 2.5.3 FAILED. You must be using Airtime 2.5.1 or 2.5.2 to upgrade.");
|
->appendBody("Upgrade to Airtime 2.5.3 FAILED. You must be using Airtime 2.5.1 or 2.5.2 to upgrade.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue