diff --git a/utils/Commands/DownloadextensionCommand.php b/utils/Commands/DownloadextensionCommand.php
index 3aaebf2a5..1e31d410d 100644
--- a/utils/Commands/DownloadextensionCommand.php
+++ b/utils/Commands/DownloadextensionCommand.php
@@ -89,7 +89,7 @@ class DownloadextensionCommand extends Command
$output->writeln(sprintf("Downloaded extension file '%s'", $extversions[$extversion]['filename']));
if (!$noupload) {
if ($extconfs[$extname]) {
- if (\Seeddms\Seeddms\ExtensionMgr::cmpVersion($extconfs[$extname]['version'], $extversion)) {
+ if (\Seeddms\Seeddms\ExtensionMgr::cmpVersion($extconfs[$extname]['version'], $extversion) > 0) {
$helper = new QuestionHelper();
$question = new ConfirmationQuestion(sprintf("You are updating extension '%s' with an older version %s < %s. Do you want to proceed? ", $extname, $extversion, $extconfs[$extname]['version']), false);
if (!$helper->ask($input, $output, $question)) {