Fix crash in search

This commit is contained in:
Jason McBrayer 2018-08-27 09:15:51 -04:00
parent 2fd5ef86b3
commit 2caa3e2e62
1 changed files with 1 additions and 0 deletions

View File

@ -664,6 +664,7 @@ def mute(request, id):
@br_login_required
def search(request):
account, mastodon = get_usercontext(request)
return render(request, 'main/search.html',
{"preferences": account.preferences,
'own_acct': request.session['user'],