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

OO-936: fix validation of cut value

parent 7dfc3038
No related branches found
No related tags found
No related merge requests found
......@@ -334,7 +334,7 @@ public class CheckListConfigurationController extends FormBasicController {
if("cutvalue".equals(selectKey)) {
float cut = toFloat(cutValueEl.getValue());
if (Float.isNaN(cut) || cut < 0.0f) {
minPointsEl.setErrorKey("form.error.wrongFloat", null);
cutValueEl.setErrorKey("form.error.wrongFloat", null);
allOk &= false;
}
}
......
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