Skip to content
Snippets Groups Projects
Commit 690534fa authored by srosse's avatar srosse
Browse files

OO-3959: check if passed configured before getting cut value

Check if passed is configured before getting the cut value to prevent
RS. Patch S. Clemenz
parent 62dc03ad
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,9 @@ public class IdentityListCourseNodeTableModel extends DefaultFlexiTableDataModel
if(courseNode != null && !(courseNode instanceof STCourseNode) && courseNode.hasScoreConfigured()) {
maxScore = courseNode.getMaxScoreConfiguration();
minScore = courseNode.getMinScoreConfiguration();
cutValue = courseNode.getCutValueConfiguration();
if (courseNode.hasPassedConfigured()) {
cutValue = courseNode.getCutValueConfiguration();
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment