Commit 6f75ea41 authored by Eric Smith's avatar Eric Smith Committed by Artem Dmitriiev
Browse files

Issue #3300578 by ericgsmith: PHP warnings when inserting a view with no contextual filters

parent 79199371
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -368,7 +368,7 @@ class InsertViewDialog extends FormBase {
    $view_id = '';
    $display_id = '';
    [$view_id, $display_id] = explode('=', $form_state->getValue('inserted_view_adv'));
    $arguments = is_array($form_state->getValue('argument')) ? array_filter($form_state->getValue('argument')) : [];
    $arguments = array_filter($form_state->getValue('argument', []));;
    return [
      'attributes' => [
        'data-view-id' => $view_id,