Skip to content
Snippets Groups Projects
Commit 9245ab90 authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

#1069604 NumberUtils.validateIsBetweenFloat correction

parent 72c00e3e
No related branches found
No related tags found
No related merge requests found
......@@ -716,7 +716,7 @@ NumberUtils.validateIsBetweenFloat = function(pTitle, pValue, pMin, pMax, pIgnor
if(isNaN(discount))
return false;
if (!NumberUtils.isInside(discount, 0, 100, pIgnoreNull))
if (!NumberUtils.isInside(discount, pMin, pMax, pIgnoreNull))
{
return (translate.withArguments("${MIN_MAX_ERROR} field: %0, value: %1, min: %2, max: %3", [translate.text(pTitle), discount, pMin, pMax]));
}
......
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