Skip to content
Snippets Groups Projects
Commit 7d8102ea authored by Daniel Wehner's avatar Daniel Wehner Committed by Tim Plunkett
Browse files

Issue #1484336 by dawehner, damiankloip | Hurukan: Fixed Undefined index in...

Issue #1484336 by dawehner, damiankloip | Hurukan: Fixed Undefined index in views_plugin_row_node_view().inc.
parent cc7c39bd
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment