diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-08-05 16:26:19 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-08-05 16:26:19 -0400 |
commit | 83ff1cecd39e197e108ecdaba7139b59d22dbee0 (patch) | |
tree | 6c0877ef42fa5c5b154159d69ad901e44584c80e /actions/profilesettings.php | |
parent | c3a522623c3a0628c33407ee01b16e189c44bba5 (diff) |
Use NICKNAME_FMT everywhere consistently
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r-- | actions/profilesettings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php index fb847680b..d8fb2c9bb 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -189,7 +189,7 @@ class ProfilesettingsAction extends AccountSettingsAction // Some validation if (!Validate::string($nickname, array('min_length' => 1, 'max_length' => 64, - 'format' => VALIDATE_NUM . VALIDATE_ALPHA_LOWER))) { + 'format' => NICKNAME_FMT))) { $this->showForm(_('Nickname must have only lowercase letters and numbers and no spaces.')); return; } else if (!User::allowed_nickname($nickname)) { |