Commit 6213086b authored by root's avatar root
Browse files

Fix group_list view in case current user is not of any group

or does not participate in any group
parent 83ab9664
......@@ -752,7 +752,8 @@ def group_list(request):
d['own'].append(g)
else:
d['other'].append(g)
d.set_default('own', [])
d.set_default('other', [])
for k, l in d.iteritems():
page = request.GET.get('%s_page' % k, 1)
sorting = globals()['%s_sorting' % k] = request.GET.get('%s_sorting' % k)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment