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

OO-4707: end test is not part of "config ref"

parent b5b051ef
No related branches found
No related tags found
No related merge requests found
......@@ -221,8 +221,8 @@ public class IQTESTCourseNode extends AbstractAccessableCourseNode implements Pe
if(ImsQTI21Resource.TYPE_NAME.equals(testEntry.getOlatResource().getResourceableTypeName())) {
ModuleConfiguration config = getModuleConfiguration();
boolean configRef = config.getBooleanSafe(IQEditController.CONFIG_KEY_CONFIG_REF, false);
if(!configRef && (config.getIntegerSafe(IQEditController.CONFIG_KEY_TIME_LIMIT, -1) > 0
|| config.getDateValue(IQEditController.CONFIG_KEY_RESULTS_END_TEST_DATE) != null)) {
if((!configRef && config.getIntegerSafe(IQEditController.CONFIG_KEY_TIME_LIMIT, -1) > 0)
|| config.getDateValue(IQEditController.CONFIG_KEY_RESULTS_END_TEST_DATE) != null) {
timeLimit = true;
} else {
AssessmentTest assessmentTest = loadAssessmentTest(testEntry);
......
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