From 0baad49d620d9988837287cb5942eea764d3ed6f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 2 Dec 2009 19:26:23 +0000 Subject: - Patch #635094 by plach: unify 'language neutral' language codes. --- modules/menu/menu.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/menu/menu.module') diff --git a/modules/menu/menu.module b/modules/menu/menu.module index 93face4a6..5396d6ced 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -484,7 +484,7 @@ function menu_node_save($node) { $link['link_path'] = "node/$node->nid"; // If not already set, use the node's title as link title attribute. if (empty($link['options']['attributes']['title']) && !$link['customized']) { - $link['options']['attributes']['title'] = trim($node->title[FIELD_LANGUAGE_NONE][0]['value']); + $link['options']['attributes']['title'] = trim($node->title[LANGUAGE_NONE][0]['value']); } if (!menu_link_save($link)) { drupal_set_message(t('There was an error saving the menu link.'), 'error'); -- cgit v1.2.3