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:
James 2011-07-27 14:24:53 -04:00
parent 7ac59fb747
commit 0ec78f1ec5

View file

@ -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);