summaryrefslogtreecommitdiff
path: root/modules/menu
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-06-01 01:22:59 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-06-01 01:22:59 -0700
commit97450de6846910f41476522cb0fdc22dad65fe4f (patch)
tree66b5e89cdd9cdd38d70fe68ff9f5c1375fc16a32 /modules/menu
parent3297727dc1d2a724bae0f1c7dceb9f82e44a954a (diff)
downloadbrdo-97450de6846910f41476522cb0fdc22dad65fe4f.tar.gz
brdo-97450de6846910f41476522cb0fdc22dad65fe4f.tar.bz2
Issue #1021064 by montesq: Fixed No Main Links causes error message in form description to set Secondary Links.
Diffstat (limited to 'modules/menu')
-rw-r--r--modules/menu/menu.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/menu/menu.admin.inc b/modules/menu/menu.admin.inc
index 1f3c4f728..7b5882c53 100644
--- a/modules/menu/menu.admin.inc
+++ b/modules/menu/menu.admin.inc
@@ -678,7 +678,7 @@ function menu_configure() {
'#empty_option' => t('No Secondary links'),
'#options' => $menu_options,
'#tree' => FALSE,
- '#description' => t('Select the source for the Secondary links. An advanced option allows you to use the same source for both Main links (currently %main) and Secondary links: if your source menu has two levels of hierarchy, the top level menu links will appear in the Main links, and the children of the active link will appear in the Secondary links.', array('%main' => $menu_options[$main])),
+ '#description' => t('Select the source for the Secondary links. An advanced option allows you to use the same source for both Main links (currently %main) and Secondary links: if your source menu has two levels of hierarchy, the top level menu links will appear in the Main links, and the children of the active link will appear in the Secondary links.', array('%main' => $main ? $menu_options[$main] : 'none')),
);
return system_settings_form($form);