diff options
author | Zach Copley <zach@controlyourself.ca> | 2008-09-23 04:41:45 -0400 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2008-09-23 04:41:45 -0400 |
commit | cbd8f39f242f63fdf94731e0dd1df5ae10870840 (patch) | |
tree | 3391d619f10932f017092e64e2ccad0fe78dcb20 /actions | |
parent | 04b95c25add9b1aafd011713b1b6b7a67f49f9f2 (diff) |
Twitter bridge - Changed Twitter username length check from 64 chars to Twitter max of 15.
darcs-hash:20080923084145-7b5ce-25cfef64778010135234046be25294a3c7860419.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/twittersettings.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/twittersettings.php b/actions/twittersettings.php index bdf02013b..bdb9958de 100644 --- a/actions/twittersettings.php +++ b/actions/twittersettings.php @@ -112,9 +112,9 @@ class TwittersettingsAction extends SettingsAction { $friendsync = $this->boolean('friendsync'); if (!Validate::string($twitter_username, array('min_length' => 1, - 'max_length' => 64, - 'format' => VALIDATE_NUM . VALIDATE_ALPHA . '_'))) { - $this->show_form(_('Username must have only numbers, upper- and lowercase letters, and underscore (_).')); + 'max_length' => 64, + 'format' => VALIDATE_NUM . VALIDATE_ALPHA_LOWER))) { + $this->show_form(_('Username must have only lowercase letters and numbers and no spaces.')); return; } |