Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
425a2a18
Commit
425a2a18
authored
Dec 08, 2018
by
Carsten Rose
Browse files
Upload: split error message in user/support.
parent
013d7f61
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/helper/Support.php
View file @
425a2a18
...
...
@@ -1249,7 +1249,9 @@ class Support {
if
(
$overwrite
)
{
HelperFile
::
unlink
(
$pathFileName
);
}
else
{
throw
new
UserFormException
(
'Copy upload failed - file already exist: '
.
$pathFileName
,
ERROR_IO_FILE_EXIST
);
throw
new
UserFormException
(
json_encode
(
[
ERROR_MESSAGE_TO_USER
=>
'Copy upload failed - file already exist'
,
ERROR_MESSAGE_SUPPORT
=>
'File: '
.
$pathFileName
]),
ERROR_IO_FILE_EXIST
);
}
}
...
...
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