summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/menu.inc1
-rw-r--r--modules/book/book.module2
2 files changed, 2 insertions, 1 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 331253868..6c7cd0218 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -629,6 +629,7 @@ function _menu_link_translate(&$item) {
$map = array();
$item['href'] = $item['link_path'];
$item['title'] = $item['link_title'];
+ $item['localized_options'] = $item['options'];
}
else {
$map = explode('/', $item['link_path']);
diff --git a/modules/book/book.module b/modules/book/book.module
index 4f603e8f9..bb4083277 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -622,7 +622,7 @@ function book_build_active_trail($book_link) {
if (!isset($trail)) {
$trail = array();
- $trail[] = array('title' => t('Home'), 'href' => '<front>', 'options' => array());
+ $trail[] = array('title' => t('Home'), 'href' => '<front>', 'localized_options' => array());
$tree = menu_tree_all_data($book_link['menu_name'], $book_link);
$curr = array_shift($tree);