diff --git a/lib/Views/node/Plugin/views/row/View.php b/lib/Views/node/Plugin/views/row/View.php index a5b7cdd5186631c4d1e9c2decd10ba09147bc175..88dd6fe5bc5e51cb7653180d58cd2a43837b5451 100644 --- a/lib/Views/node/Plugin/views/row/View.php +++ b/lib/Views/node/Plugin/views/row/View.php @@ -118,11 +118,13 @@ function pre_render($values) { } function render($row) { - $node = $this->nodes[$row->{$this->field_alias}]; - $node->view = $this->view; - $build = node_view($node, $this->options['view_mode']); + if (isset($this->nodes[$row->{$this->field_alias}])) { + $node = $this->nodes[$row->{$this->field_alias}]; + $node->view = $this->view; + $build = node_view($node, $this->options['view_mode']); - return drupal_render($build); + return drupal_render($build); + } } }