From ce530cc8b6e32abda1e928720b5f21ada3b7e63f Mon Sep 17 00:00:00 2001 From: webchick Date: Tue, 28 Feb 2012 23:55:32 -0800 Subject: Issue #1425280 by Niklas Fiekas, swentel: Fixed No contextual links in node lists after a node without contextual links. --- includes/menu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/menu.inc b/includes/menu.inc index 52a33a5b0..fef40bb73 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -2144,7 +2144,7 @@ function menu_contextual_links($module, $parent_path, $args) { $links = array(); // Performance: In case a previous invocation for the same parent path did not // return any links, we immediately return here. - if (isset($path_empty[$parent_path])) { + if (isset($path_empty[$parent_path]) && strpos($parent_path, '%') !== FALSE) { return $links; } // Construct the item-specific parent path. -- cgit v1.2.3