[BUGFIX] Prevent current extension version in update dialog
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Classes / Utility / InstallUtility.php
index 9b00f49..c8f7335 100644 (file)
@@ -511,7 +511,9 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface {
                /** @var $extensionUpdates[] \TYPO3\CMS\Extensionmanager\Domain\Model\Extension */
                $extensionUpdates = $this->extensionRepository->findByVersionRangeAndExtensionKeyOrderedByVersion(
                        $extensionData->getExtensionKey(),
-                       $version + 1
+                       $version,
+                       0,
+                       FALSE
                );
                if ($extensionUpdates->count() > 0) {
                        foreach ($extensionUpdates as $extensionUpdate) {