summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-07-01 20:52:55 +0000
committerDries Buytaert <dries@buytaert.net>2008-07-01 20:52:55 +0000
commit7b66734d4ea9366a84120c241a25dfcd119866f1 (patch)
tree95ecce79fa2bbe0d57be333a218ca85150b5de9f
parentbb232c728af46441b22f071dd9cfb01d31ec69cf (diff)
downloadbrdo-7b66734d4ea9366a84120c241a25dfcd119866f1.tar.gz
brdo-7b66734d4ea9366a84120c241a25dfcd119866f1.tar.bz2
- Patch #276846 by pwolanin: mailformed cid due to fauly menu item.
-rw-r--r--modules/book/book.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index bf6988565..46aa6d083 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -1119,7 +1119,7 @@ function book_menu_subtree_data($item) {
$data['node_links'] = array();
menu_tree_collect_node_links($data['tree'], $data['node_links']);
// Compute the real cid for book subtree data.
- $tree_cid = 'links:' . $menu_name . ':subtree-data:' . md5(serialize($data));
+ $tree_cid = 'links:' . $item['menu_name'] . ':subtree-data:' . md5(serialize($data));
// Cache the data, if it is not already in the cache.
if (!cache_get($tree_cid, 'cache_menu')) {