datagovuk/dgu_d7 — pull request #63 by noels (2013-09-17 16:52:23+00:00)
Title: This patch will fix _menu_translate so it no loinger produces a warning.

When visiting a search page with no search term, many notices are show:

Notice: Undefined offset: 2 in _menu_translate() (line 777 of /var/www/drupal/dgud7/build_42/includes/menu.inc).
Notice: Undefined offset: 2 in _menu_translate() (line 780 of /var/www/drupal/dgud7/build_42/includes/menu.inc).

This is caused by apachesolr_search module (correctly using a % in the path for the menu_local_task) which Drupal then seems to want to translate even thought he wild card has been dropped from the path map. This causes the above notice.