diff --git a/handlers/views_handler_field_contextual_links.inc b/handlers/views_handler_field_contextual_links.inc index 65225e2731a3110e980b78d23e806fbe22bacf52..675c2f44e54bdd76a88aa5e1dea60c029dd19e97 100644 --- a/handlers/views_handler_field_contextual_links.inc +++ b/handlers/views_handler_field_contextual_links.inc @@ -68,7 +68,7 @@ function render($values) { if (!empty($this->view->field[$field]->options['alter']['path'])) { $path = $this->view->field[$field]->options['alter']['path']; } - if (!empty($title)) { + if (!empty($title) && !empty($path)) { // Make sure that tokens are replaced for this paths as well. $tokens = $this->get_render_tokens(array()); $path = strip_tags(decode_entities(strtr($path, $tokens)));