- Patch #215858 by pwolanin, goba, catch et al: localized menu link data getting saved back to the database.
parent
f383ceef6d
commit
4969495e04
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue