Skip to content
Snippets Groups Projects
Commit 4969495e authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #215858 by pwolanin, goba, catch et al: localized menu link data...

- Patch #215858 by pwolanin, goba, catch et al: localized menu link data getting saved back to the database.
parent f383ceef
No related branches found
No related tags found
No related merge requests found
......@@ -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']);
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment