From: Alexander Ebert Date: Mon, 19 Mar 2018 15:54:15 +0000 (+0100) Subject: Adjusted comparison when installed version is higher X-Git-Tag: 3.1.2~2^2~43 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e1e7ce56245be6cf6f39328052ed87840ec0707c;p=GitHub%2FWoltLab%2FWCF.git Adjusted comparison when installed version is higher --- 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'; } }