Commit 7d8102ea authored by dawehner's avatar dawehner 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
......@@ -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);
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment