diff --git a/utils/Commands/DownloadextensionCommand.php b/utils/Commands/DownloadextensionCommand.php
index 1e31d410d..2a021eeea 100644
--- a/utils/Commands/DownloadextensionCommand.php
+++ b/utils/Commands/DownloadextensionCommand.php
@@ -88,7 +88,7 @@ class DownloadextensionCommand extends Command
if ($tmpfile = $extmgr->getExtensionFromRepository($extversions[$extversion]['filename'])) {
$output->writeln(sprintf("Downloaded extension file '%s'", $extversions[$extversion]['filename']));
if (!$noupload) {
- if ($extconfs[$extname]) {
+ if (isset($extconfs[$extname])) {
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);