fixed theming breaking for users without space

This commit is contained in:
vabene1111
2024-01-14 15:33:14 +08:00
parent 2ba2b97f9c
commit 8d90fada1d

View File

@@ -15,7 +15,7 @@ def theme_values(request):
def get_theming_values(request):
space = None
if request.space:
if 'space' in request:
space = request.space
if not request.user.is_authenticated and UNAUTHENTICATED_THEME_FROM_SPACE > 0:
with scopes_disabled():