Commit 72bf0092 authored by Primsi's avatar Primsi Committed by Primsi
Browse files

Issue #3083640 by Primsi, Berdir: Check before adding the result of createFile to the entity list

parent 207fc3a1
......@@ -213,7 +213,9 @@ class DropzoneJsEbWidget extends WidgetBase {
$this->currentUser,
$additional_validators
);
$files[] = $entity;
if ($entity) {
$files[] = $entity;
}
}
}
......
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