diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-08-08 18:11:47 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-08-08 18:11:47 +0000 |
commit | e3bb64cd6ceb9519aaed435fcb7dccb7e16e674d (patch) | |
tree | 97f5b0a35565a4300f352dc308ee0089926c0f4e /actions/updateprofile.php | |
parent | c03d5932877c15eb673febabda5227df2173fbad (diff) | |
parent | 932d1fb7ce06081c788ea088171fd69ef03cd394 (diff) |
Merge branch '0.8.x' into twitter-oauth
Diffstat (limited to 'actions/updateprofile.php')
-rw-r--r-- | actions/updateprofile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/updateprofile.php b/actions/updateprofile.php index d8b62fb09..f6cb277aa 100644 --- a/actions/updateprofile.php +++ b/actions/updateprofile.php @@ -79,7 +79,7 @@ class UpdateprofileAction extends Action $nickname = $req->get_parameter('omb_listenee_nickname'); if ($nickname && !Validate::string($nickname, array('min_length' => 1, 'max_length' => 64, - 'format' => VALIDATE_NUM . VALIDATE_ALPHA_LOWER))) { + 'format' => NICKNAME_FMT))) { $this->clientError(_('Nickname must have only lowercase letters and numbers and no spaces.')); return false; } |