Skip to content

Commit fcf4554

Browse files
committed
Fix 500 error on shift signups page
1 parent b23ab9d commit fcf4554

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

uber/site_sections/shifts_admin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ def signups(self, session, department_id=None, message='', toggle_filter=''):
116116
show_restricted = cherrypy.session.get('signups_show_restricted', True)
117117
show_nonpublic = cherrypy.session.get('signups_show_nonpublic', True)
118118

119+
jobs = []
120+
119121
if department_id != '':
120122
job_filters = [Job.department_id == department_id] if department_id else []
121123
if not show_past_shifts:

0 commit comments

Comments
 (0)