Fix nil query_username (#2013)
This commit is contained in:
parent
630de52fdd
commit
3399dd7a66
2 changed files with 13 additions and 1 deletions
|
@ -41,7 +41,7 @@ class AccountSearchService < BaseService
|
|||
end
|
||||
|
||||
def query_username
|
||||
@_query_username ||= split_query_string.first
|
||||
@_query_username ||= split_query_string.first || ''
|
||||
end
|
||||
|
||||
def query_domain
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue