summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-25 21:51:20 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-25 21:51:20 +0000
commitdb7dcfd444e16cd860b74dd1f874ebca62461d4c (patch)
treef4238e61359829c0ff7141ee0f849aa3df0411f1 /modules
parent89c8b3feaf589dcdea74dd6f21a617481dbd0ffc (diff)
downloadbrdo-db7dcfd444e16cd860b74dd1f874ebca62461d4c.tar.gz
brdo-db7dcfd444e16cd860b74dd1f874ebca62461d4c.tar.bz2
- Patch #112556 by webchick: term/vocab maxlength should match db.
Diffstat (limited to 'modules')
-rw-r--r--modules/taxonomy/taxonomy.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index a1c2be20c..2ecc1a6da 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -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);