From ac05cde34fd5b3f43d15cefb21baede006823b20 Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Sat, 9 Mar 2013 09:27:45 -0800 Subject: [PATCH] fix CRM-12079 --- CRM/Upgrade/Form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Upgrade/Form.php b/CRM/Upgrade/Form.php index d14e918b4b..51ccb3f78d 100644 --- a/CRM/Upgrade/Form.php +++ b/CRM/Upgrade/Form.php @@ -389,7 +389,7 @@ SET version = '$version' $phpVersion = phpversion(); $minPhpVersion = '5.3.3'; - if (version_compare($phpVersion, $minPhpVersion) <= 0) { + if (version_compare($phpVersion, $minPhpVersion) < 0) { $error = ts('CiviCRM %3 requires PHP version %1 (or newer), but the current system uses %2 ', array( 1 => $minPhpVersion, @@ -601,7 +601,7 @@ SET version = '$version' $upgrade = new CRM_Upgrade_Form(); $upgrade->setVersion($rev); CRM_Utils_System::flushCache(); - + if (version_compare($currentVer, '4.1.alpha1') >= 0) { CRM_Core_BAO_Setting::updateSettingsFromMetaData(); } -- 2.25.1