Always show the accepted organizations list even when there are None.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/program.py Wed Mar 18 16:15:32 2009 +0000
+++ b/app/soc/views/models/program.py Wed Mar 18 16:21:19 2009 +0000
@@ -221,11 +221,8 @@
ao_params['list_description'] = ugettext(
"An overview of all accepted organizations.")
- ao_list = lists.getListContent(request, ao_params, filter, idx=1,
- need_content=True)
-
- if ao_list:
- contents.append(ao_list)
+ ao_list = lists.getListContent(request, ao_params, filter, idx=1)
+ contents.append(ao_list)
return self._list(request, params, contents, page_name)