Commit 7f117713 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

[BUGFIX] Uncomments important line for getting extension upload file

parent 274d9378
Pipeline #1777 failed with stages
in 1 minute and 26 seconds
......@@ -546,6 +546,7 @@ class ExtensionController extends \T3o\TerFe2\Controller\AbstractController
if (empty($form['comment'])) {
$this->forwardWithError($this->translate('msg.createVersionCommentEmpty'), 'uploadVersion');
}
$fileInfo = \T3o\TerFe2\Utility\File::getFileInfo('tx_terfe2_pi1.form.file');
if (empty($fileInfo) || empty($fileInfo['tmp_name']) || $fileInfo['error'] != UPLOAD_ERR_OK) {
$this->forwardWithError($this->translate('msg.createVersionFileEmpty'), 'uploadVersion');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment