CC-2596: upgrade doesn't reconize existing Airtime 1.7->1.9
- using "===" instead "==" to check if the value is 'false'
This commit is contained in:
parent
7ac59fb747
commit
0ec78f1ec5
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ if (isset($version) && ($version != false) && ($version < AIRTIME_VERSION) && !i
|
|||
exit(2);
|
||||
}
|
||||
|
||||
if($version == false){
|
||||
if($version === false){
|
||||
echo "A version of Airtime older than 1.8.0 detected, please upgrade to 1.8.0 first.\n";
|
||||
echo "You will then be able to upgrade to 1.9.0 using this installer.\n";
|
||||
exit(3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue