- Patch #112556 by webchick: term/vocab maxlength should match db.
parent
89c8b3feaf
commit
db7dcfd444
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue