Unverified Commit b2a68e8a authored by Roman Tselepnev's avatar Roman Tselepnev Committed by m4olivei
Browse files

Issue #3280907 by AbramOmovich: Warning: array_filter() expects parameter 1 to...

Issue #3280907 by AbramOmovich: Warning: array_filter() expects parameter 1 to be array, string given in Drupal\applenews\Plugin\Field\FieldWidget\Applenews->massageFormValues()
parent 756524f0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -485,7 +485,8 @@ class Applenews extends WidgetBase {
      $value += [
        'status' => FALSE,
        'template' => '',
        'channels' => '',
        'channels' => [],
        'sections' => [],
        'is_preview' => TRUE,
      ];
      $result = [];