diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-02-28 23:55:32 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-02-28 23:55:32 -0800 |
commit | ce530cc8b6e32abda1e928720b5f21ada3b7e63f (patch) | |
tree | feef75a748ce834262f0e2f63461dca6b91e084a /includes/menu.inc | |
parent | c8d1e91a860204451d9ce87f4509c2182a337699 (diff) | |
download | brdo-ce530cc8b6e32abda1e928720b5f21ada3b7e63f.tar.gz brdo-ce530cc8b6e32abda1e928720b5f21ada3b7e63f.tar.bz2 |
Issue #1425280 by Niklas Fiekas, swentel: Fixed No contextual links in node lists after a node without contextual links.
Diffstat (limited to 'includes/menu.inc')
-rw-r--r-- | includes/menu.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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. |