From 65e1144792fc64d20c0d59d4e90bf52006371e93 Mon Sep 17 00:00:00 2001 From: Tom Homer Date: Tue, 1 May 2018 17:47:21 -0400 Subject: [PATCH] Fixed Upgrade notices not displaying all the time for Geeklog versions upgrading under 2.1.2 --- public_html/admin/install/classes/installer.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/admin/install/classes/installer.class.php b/public_html/admin/install/classes/installer.class.php index b07f08e92..0aac39fe0 100644 --- a/public_html/admin/install/classes/installer.class.php +++ b/public_html/admin/install/classes/installer.class.php @@ -237,7 +237,7 @@ private function checkUpgradeMessage($currentVersion) foreach ($this->upgradeMessages as $version => $message) { $retval .= '

' . $this->LANG['INSTALL'][111] . ' ' . $version . '

' . PHP_EOL; - if (version_compare($currentVersion, '2.1.2', '<')) { + if (version_compare($version, '2.1.2', '<')) { foreach ($message as $type => $message_id) { $retval .= $this->getAlertMessage($this->LANG['ERROR'][$message_id], $type); // record what type of prompt we need