fix import of extension from repository

This commit is contained in:
Uwe Steinmann 2022-08-19 14:50:25 +02:00
parent 4bbf6ddecf
commit d2a3ca301c

View File

@ -115,7 +115,7 @@ elseif ($action == "import") { /* {{{ */
// $extMgr = new SeedDMS_Extension_Mgr($settings->_rootDir."/ext", $settings->_cacheDir);
$controller->setParam('extmgr', $extMgr);
$controller->setParam('file', $file);
$_POST['action'] = 'upload';
$controller->setParam('action', 'upload');
if (!$controller()) {
unlink($file);
UI::exitError(getMLText("admin_tools"),getMLText("error_occured"));