We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f647da commit 9b006b5Copy full SHA for 9b006b5
lib/plugins/extension/Installer.php
@@ -39,7 +39,6 @@ class Installer
39
public const STATUS_INSTALLED = 'installed';
40
public const STATUS_REMOVED = 'removed';
41
42
-
43
/**
44
* Initialize a new extension installer
45
*
lib/plugins/extension/admin.php
@@ -62,7 +62,7 @@ public function handle()
62
}
63
if ($INPUT->post->str('installurl')) {
64
$installer->installFromURL($INPUT->post->str('installurl'));
65
- } elseif (isset($_FILES['installfile'])) {
+ } elseif (isset($_FILES['installfile']) && $_FILES['installfile']['error'] !== UPLOAD_ERR_NO_FILE) {
66
$installer->installFromUpload('installfile');
67
68
} catch (Exception $e) {
0 commit comments