diff --git a/core/modules/views/src/Plugin/Block/ViewsBlock.php b/core/modules/views/src/Plugin/Block/ViewsBlock.php index 1d4622c..e03db23 100644 --- a/core/modules/views/src/Plugin/Block/ViewsBlock.php +++ b/core/modules/views/src/Plugin/Block/ViewsBlock.php @@ -27,7 +27,7 @@ public function build() { $args = []; foreach ($this->getContexts() as $context_name => $context) { /** @var \Drupal\views\Plugin\views\argument\ArgumentPluginBase $argument */ - if ($argument = $this->view->display_handler->getHandler('argument', $context_name) && $value = $context->getContextValue()) { + if (($argument = $this->view->display_handler->getHandler('argument', $context_name)) && ($value = $context->getContextValue())) { if ($value instanceof EntityInterface) { $value = $value->id(); }