From e1e7ce56245be6cf6f39328052ed87840ec0707c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 19 Mar 2018 16:54:15 +0100 Subject: [PATCH] Adjusted comparison when installed version is higher --- .../files/lib/acp/page/PluginStorePurchasedItemsPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/page/PluginStorePurchasedItemsPage.class.php b/wcfsetup/install/files/lib/acp/page/PluginStorePurchasedItemsPage.class.php index 6fd5ada864..e16be64da6 100644 --- a/wcfsetup/install/files/lib/acp/page/PluginStorePurchasedItemsPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/PluginStorePurchasedItemsPage.class.php @@ -111,7 +111,7 @@ class PluginStorePurchasedItemsPage extends AbstractPage { if (Package::compareVersion($product['lastVersion'], $package->packageVersion, '>')) { $this->productData[$wcfMajorRelease][$packageUpdateID]['status'] = 'update'; } - else if (Package::compareVersion($product['lastVersion'], $package->packageVersion, '=')) { + else if (Package::compareVersion($product['lastVersion'], $package->packageVersion, '<=')) { $this->productData[$wcfMajorRelease][$packageUpdateID]['status'] = 'upToDate'; } } -- 2.20.1