diff --git a/tweetbutton.install b/tweetbutton.install index b8dec17..7fdc3c2 100644 --- a/tweetbutton.install +++ b/tweetbutton.install @@ -15,7 +15,7 @@ function tweetbutton_field_schema($field) { ), 'account' => array( 'type' => 'varchar', - 'length' => 32, + 'length' => 140, 'not null' => FALSE, ), ); diff --git a/tweetbutton.module b/tweetbutton.module index 400cf0b..47826e6 100644 --- a/tweetbutton.module +++ b/tweetbutton.module @@ -111,7 +111,7 @@ function tweetbutton_field_widget_form(&$form, &$form_state, $field, $instance, '#default_value' => !empty($items[$delta]['text'])? $items[$delta]['text']: $default_text, '#title' => t('Tweet text'), '#description' => t('Leave blank to use content title as tweet text'), - '#maxlength' => 32, + '#maxlength' => 140, '#access' => user_access('use tweetbutton field'), );