summaryrefslogtreecommitdiff
path: root/modules/menu
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-10-18 14:40:00 +0000
committerDries Buytaert <dries@buytaert.net>2005-10-18 14:40:00 +0000
commit782d5c98c9b37f1d22152af53c6b0604674c38c8 (patch)
treeea0cc85712e0efaf3234d57f93799c9a5dacdbeb /modules/menu
parent7f5f3ac6c8d3fc505ee309befb781233b28155da (diff)
downloadbrdo-782d5c98c9b37f1d22152af53c6b0604674c38c8.tar.gz
brdo-782d5c98c9b37f1d22152af53c6b0604674c38c8.tar.bz2
- Patch #33752 by leafish_paul / adrian: added missing apostrophes to the form API code.
Diffstat (limited to 'modules/menu')
-rw-r--r--modules/menu/menu.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/menu/menu.module b/modules/menu/menu.module
index 53389377a..c15b77f42 100644
--- a/modules/menu/menu.module
+++ b/modules/menu/menu.module
@@ -307,7 +307,7 @@ function menu_edit_item_form($edit) {
$form['weight'] = array('#type' => 'hidden', '#value' => 0);
}
else {
- $form['description'] = array('#type' => textfield, '#title' => t('Description'), '#default_value' => $edit['description'], '#size' => 60, '#maxlength' => 128, '#description' => t('The description displayed when hovering over a menu item.'));
+ $form['description'] = array('#type' => 'textfield', '#title' => t('Description'), '#default_value' => $edit['description'], '#size' => 60, '#maxlength' => 128, '#description' => t('The description displayed when hovering over a menu item.'));
$path_description = t('The Drupal path this menu item links to.');
if (isset($edit['path']) && array_key_exists($edit['path'], $menu['path index']) && $menu['path index'][$edit['path']] != $edit['mid']) {