diff --git a/libraries/cms/installer/script.php b/libraries/cms/installer/script.php index 034b415fc3e74..f8ade1ca839e0 100644 --- a/libraries/cms/installer/script.php +++ b/libraries/cms/installer/script.php @@ -132,7 +132,7 @@ public function preflight($type, $parent) } // Abort if the extension being installed is not newer than the currently installed version - if ($type == 'Update' && $this->allowDowngrades) + if (strtolower($type) == 'Update' && !$this->allowDowngrades) { $manifest = $this->getItemArray('manifest_cache', '#__extensions', 'element', JFactory::getDbo()->quote($this->extension)); $oldRelease = $manifest['version'];