diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-09-11 16:58:50 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-09-11 16:58:50 -0400 |
commit | 7d490ac8f7088f339d790f0a29ed055dffe47718 (patch) | |
tree | 07c9198a844e65ccf1300bf4c278346cf673e2b9 /modules/menu | |
parent | d9a044126f07370f1ad258024e3df38d17163f5d (diff) | |
download | brdo-7d490ac8f7088f339d790f0a29ed055dffe47718.tar.gz brdo-7d490ac8f7088f339d790f0a29ed055dffe47718.tar.bz2 |
- Patch #1237290 by e-anima, dereine, xjm: menu path length fix.
Diffstat (limited to 'modules/menu')
-rw-r--r-- | modules/menu/menu.admin.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/menu/menu.admin.inc b/modules/menu/menu.admin.inc index 7b5882c53..d9b98ccbe 100644 --- a/modules/menu/menu.admin.inc +++ b/modules/menu/menu.admin.inc @@ -286,6 +286,7 @@ function menu_edit_item($form, &$form_state, $type, $item, $menu) { $form['link_path'] = array( '#type' => 'textfield', '#title' => t('Path'), + '#maxlength' => 255, '#default_value' => $path, '#description' => t('The path for this menu link. This can be an internal Drupal path such as %add-node or an external URL such as %drupal. Enter %front to link to the front page.', array('%front' => '<front>', '%add-node' => 'node/add', '%drupal' => 'http://drupal.org')), '#required' => TRUE, |