Skip to content

Commit

Permalink
Fixed Upgrade notices not displaying all the time for Geeklog version…
Browse files Browse the repository at this point in the history
…s upgrading under 2.1.2
  • Loading branch information
eSilverStrike committed May 1, 2018
1 parent f929cef commit 65e1144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/admin/install/classes/installer.class.php
Expand Up @@ -237,7 +237,7 @@ private function checkUpgradeMessage($currentVersion)

foreach ($this->upgradeMessages as $version => $message) {
$retval .= '<h2>' . $this->LANG['INSTALL'][111] . ' ' . $version . '</h2>' . 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
Expand Down

0 comments on commit 65e1144

Please sign in to comment.