From a23e33e2233294b0762569da3a174b88e5783a1d Mon Sep 17 00:00:00 2001
From: Andrew Berry <deviantintegral@gmail.com>
Date: Wed, 30 May 2012 11:45:37 -0400
Subject: [PATCH] Issue #1341956 by xibun: Use title instead of link_title for
 menu token compatibility.

---
 nice_menus.module |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nice_menus.module b/nice_menus.module
index 743db51..86c9db4 100644
--- a/nice_menus.module
+++ b/nice_menus.module
@@ -455,7 +455,7 @@ function theme_nice_menus_build($variables) {
         $parent_class = ($children && ($menu_item['link']['depth'] <= $depth || $depth == -1)) ? 'menuparent ' : '';
          $element = array(
           '#below' => $children,
-          '#title' => $menu_item['link']['link_title'],
+          '#title' => $menu_item['link']['title'],
           '#href' =>  $menu_item['link']['href'],
           '#localized_options' => $menu_item['link']['localized_options'],
           '#attributes' => array(
@@ -471,7 +471,7 @@ function theme_nice_menus_build($variables) {
      
         $element = array(
           '#below' => '',
-          '#title' => $menu_item['link']['link_title'],
+          '#title' => $menu_item['link']['title'],
           '#href' =>  $menu_item['link']['href'],
           '#localized_options' => $menu_item['link']['localized_options'],
           '#attributes' => array(
-- 
1.7.10.3

