diff -urp clickpath/clickpath.module clickpath_new/clickpath.module --- clickpath/clickpath.module 2010-03-14 02:56:49.000000000 +0100 +++ clickpath_new/clickpath.module 2010-08-06 22:59:24.628573362 +0200 @@ -181,7 +181,8 @@ function clickpath_save_path($path) { $title = variable_get('site_name', 'Home'); } } else { - $title = drupal_get_title(); + $menu_item = menu_get_item($path); + $title = !empty($menu_item['title']) ? $menu_item['title'] : drupal_get_title(); } $clickpath = clickpath_get_paths(); @@ -197,4 +198,4 @@ function clickpath_save_path($path) { } $_SESSION['clickpath'] = $clickpath; } -} \ Pas de fin de ligne à la fin du fichier. +}