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

Merge OpenOLAT 12.1 to OpenOLAT default branch with 9bcae0b6f6b9cec17ef75b66d43a2c5b69e6d02d

parents 6274a3e0 81bb7a4c
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,10 @@ public class GTARevisionAndCorrectionEditController extends FormBasicController ...@@ -62,6 +62,10 @@ public class GTARevisionAndCorrectionEditController extends FormBasicController
int maxDocs = config.getIntegerSafe(GTACourseNode.GTASK_MAX_REVISED_DOCS, -1); int maxDocs = config.getIntegerSafe(GTACourseNode.GTASK_MAX_REVISED_DOCS, -1);
String maxVal = ""; String maxVal = "";
if(maxDocs == -1) {
// !this only works because there is not another configuration in the controller
maxDocs = config.getIntegerSafe(GTACourseNode.GTASK_MAX_SUBMITTED_DOCS, -1);
}
if(maxDocs > 0) { if(maxDocs > 0) {
maxVal = Integer.toString(maxDocs); maxVal = Integer.toString(maxDocs);
} }
......
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