Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
dropzonejs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
dropzonejs
Commits
e85be9f6
Commit
e85be9f6
authored
Mar 29, 2019
by
chr.fritsch
Committed by
chr.fritsch
Mar 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3043246
by chr.fritsch: PHP 7.3 warning
parent
ca301264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/UploadHandler.php
src/UploadHandler.php
+3
-3
No files found.
src/UploadHandler.php
View file @
e85be9f6
...
...
@@ -120,17 +120,17 @@ class UploadHandler implements UploadHandlerInterface {
case
UPLOAD_ERR_INI_SIZE
:
case
UPLOAD_ERR_FORM_SIZE
:
$message
=
$this
->
t
(
'The file could not be saved because it exceeds the maximum allowed size for uploads.'
);
continue
;
break
;
case
UPLOAD_ERR_PARTIAL
:
case
UPLOAD_ERR_NO_FILE
:
$message
=
$this
->
t
(
'The file could not be saved because the upload did not complete.'
);
continue
;
break
;
// Unknown error.
default
:
$message
=
$this
->
t
(
'The file could not be saved. An unknown error has occurred.'
);
continue
;
break
;
}
throw
new
UploadException
(
UploadException
::
FILE_UPLOAD_ERROR
,
$message
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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