Protect against no due property (as was there before).

This commit is contained in:
cahrens
2013-04-01 14:42:05 -04:00
parent ee2b92ab02
commit 8b26d3a8a1

View File

@@ -62,7 +62,7 @@ ${progress_graph.body(grade_summary, course.grade_cutoffs, "grade-detail-graph",
<p>
${section['format']}
%if 'due' in section and section['due']!="":
%if 'due' in section and section['due']:
<em>
due ${get_default_time_display(section['due'])}
</em>