summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')) {