Commit 7f3fd058 authored by dawehner's avatar dawehner Committed by tim.plunkett
Browse files

Issue #1619548 by dawehner: Don't render contextual fields if the output is...

Issue #1619548 by dawehner: Don't render contextual fields if the output is empty/the user doesn't have access.
parent 1bf3a90b
......@@ -60,7 +60,7 @@ function pre_render(&$values) {
function render($values) {
$links = array();
foreach ($this->options['fields'] as $field) {
if (empty($this->view->field[$field]->last_render_text)) {
if (empty($this->view->style_plugin->rendered_fields[$this->view->row_index][$field])) {
continue;
}
$title = $this->view->field[$field]->last_render_text;
......
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