From 8049f94756021402a34ad3f2eb54fee5b19ae39b Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 14 Nov 2010 20:31:45 +0000 Subject: #971090 by scor, rgristroph: Fixed place maxlength on taxonomy tag field to prevent data truncation. --- modules/taxonomy/taxonomy.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index f602f1d09..10393eea9 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1442,6 +1442,7 @@ function taxonomy_field_widget_form(&$form, &$form_state, $field, $instance, $la '#default_value' => taxonomy_implode_tags($tags), '#autocomplete_path' => $instance['widget']['settings']['autocomplete_path'] . '/' . $field['field_name'], '#size' => $instance['widget']['settings']['size'], + '#maxlength' => 1024, '#element_validate' => array('taxonomy_autocomplete_validate'), ); -- cgit v1.2.3