Skip to content
Snippets Groups Projects
Commit dffde759 authored by Pascal Crott's avatar Pascal Crott
Browse files

#1 Make sure arguments are configured before setting them.

parent 7b065b65
Branches
Tags 1.2.0
No related merge requests found
Pipeline #19225 passed
......@@ -287,7 +287,7 @@ class ViewsBvbBlock extends Block {
}
// Save arguments.
$args = $form_state->getValue('override')['arguments'];
$args = $form_state->getValue('override')['arguments'] ?? [];
$form_state->unsetValue(['override', 'arguments']);
$block->setConfigurationValue('arguments', $args);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment