- Patch #112556 by webchick: term/vocab maxlength should match db.

6.x
Dries Buytaert 2007-01-25 21:51:20 +00:00
parent 89c8b3feaf
commit db7dcfd444
1 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ function taxonomy_form_vocabulary($edit = array()) {
$form['name'] = array('#type' => 'textfield',
'#title' => t('Vocabulary name'),
'#default_value' => $edit['name'],
'#maxlength' => 64,
'#maxlength' => 255,
'#description' => t('The name for this vocabulary. Example: "Topic".'),
'#required' => TRUE,
);
@ -374,7 +374,7 @@ function taxonomy_form_term($vocabulary, $edit = array()) {
'#type' => 'textfield',
'#title' => t('Term name'),
'#default_value' => $edit['name'],
'#maxlength' => 64,
'#maxlength' => 255,
'#description' => t('The name of this term.'),
'#required' => TRUE);