Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
7f117713
Commit
7f117713
authored
Jul 28, 2017
by
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
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/ter_fe2/Classes/Controller/ExtensionController.php
View file @
7f117713
...
...
@@ -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'
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment