From 0ec78f1ec5e39276bd3106021fca43189314ecb3 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 27 Jul 2011 14:24:53 -0400 Subject: [PATCH] CC-2596: upgrade doesn't reconize existing Airtime 1.7->1.9 - using "===" instead "==" to check if the value is 'false' --- install_minimal/include/airtime-install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_minimal/include/airtime-install.php b/install_minimal/include/airtime-install.php index 8fe9e5ef5..faaad8d0e 100644 --- a/install_minimal/include/airtime-install.php +++ b/install_minimal/include/airtime-install.php @@ -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);