summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritangalo2012-12-31 12:01:14 (GMT)
committer Daniel Wehner2012-12-31 12:01:14 (GMT)
commit65bd1c45b199e315a9cb9843eaa524a0e01bcf4b (patch)
tree1a52e9bfa3465c6c0c73298a6d4ab85fd7d29f45
parentcdbdbaaab2a2778c434ae617c098e81967c8c62e (diff)
Issue #1874838 by Itangalo, dawehner: Added Allow exposed blocks to use 'Link display' settings.
-rw-r--r--plugins/views_plugin_display.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/views_plugin_display.inc b/plugins/views_plugin_display.inc
index da27888..292d090 100644
--- a/plugins/views_plugin_display.inc
+++ b/plugins/views_plugin_display.inc
@@ -784,8 +784,8 @@ class views_plugin_display extends views_plugin {
return $this->view->display[$display_id]->handler->get_path();
}
- if ($this->get_option('link_display') == 'custom_url' && $this->get_option('link_url')) {
- return $this->get_option('link_url');
+ if ($this->get_option('link_display') == 'custom_url' && $link_url = $this->get_option('link_url')) {
+ return link_url;
}
}