From 8b60aea55d5b91730b0a9d5b3e46ec81db9e9069 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sun, 16 Nov 2025 15:50:22 +0100 Subject: [PATCH] check if $extconfs[$extname] exists --- utils/Commands/DownloadextensionCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);