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
0a9c56f0
Commit
0a9c56f0
authored
Dec 04, 2019
by
Primsi
Committed by
Primsi
Dec 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3083640
by Primsi, Berdir: Check before adding the result of createFile to the entity list
parent
691a3272
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php
...et/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php
+3
-1
No files found.
modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php
View file @
0a9c56f0
...
...
@@ -226,7 +226,9 @@ class DropzoneJsEbWidget extends WidgetBase {
$this
->
currentUser
,
$additional_validators
);
$files
[]
=
$entity
;
if
(
$entity
)
{
$files
[]
=
$entity
;
}
}
}
...
...
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