diff options
author | Tomohiro Suwa <neoen.gsn@gmail.com> | 2017-04-18 02:57:02 +0900 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-17 19:57:02 +0200 |
commit | 3399dd7a666d755288cabf55fbb71b7276f6ffb7 (patch) | |
tree | 55955559db2ce001d2fd11e5b99de695b2e46a1d /app | |
parent | 630de52fdd93e7465d0fb9dac5f35db30a2545d2 (diff) |
Fix nil query_username (#2013)
Diffstat (limited to 'app')
-rw-r--r-- | app/services/account_search_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/account_search_service.rb b/app/services/account_search_service.rb index a9cb85500..58a23d978 100644 --- a/app/services/account_search_service.rb +++ b/app/services/account_search_service.rb @@ -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 |