Completed
Pull Request — 8.x-1.x (#117)
by
unknown
02:48
created
src/Plugin/EntityBrowser/Widget/Upload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     $uploaded_files = $form_state->getValue(['upload'], []);
57 57
     $trigger = $form_state->getTriggeringElement();
58 58
 
59
-    if (in_array('::save', $trigger['#submit'] )) {
59
+    if (in_array('::save', $trigger['#submit'])) {
60 60
       $violations = $this->runWidgetValidators($uploaded_files, ['not_empty' => ['min' => 1]]);
61 61
       if (!empty($violations)) {
62 62
         /** @var \Symfony\Component\Validator\ConstraintViolationListInterface $violation */
Please login to merge, or discard this patch.