mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
Downcase username only if it is there
This commit is contained in:
@@ -311,7 +311,7 @@ class User
|
||||
end
|
||||
|
||||
def downcase_username
|
||||
username.downcase!
|
||||
username.downcase! if username
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user