From 7d490ac8f7088f339d790f0a29ed055dffe47718 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 11 Sep 2011 16:58:50 -0400 Subject: - Patch #1237290 by e-anima, dereine, xjm: menu path length fix. --- modules/menu/menu.admin.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/menu') 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' => '', '%add-node' => 'node/add', '%drupal' => 'http://drupal.org')), '#required' => TRUE, -- cgit v1.2.3