Fix: markRate can be 100

This commit is contained in:
Laurent Destailleur 2016-01-10 18:28:50 +01:00 committed by jfefe
parent 236d4d7771
commit 988c0131d2

View File

@ -341,7 +341,7 @@ if (! empty($conf->margin->enabled))
setTimeout(function () { rate.focus() }, 50);
return false;
}
if (npRate == "np_markRate" && rate.val() >= 100)
if (npRate == "np_markRate" && rate.val() > 100)
{
alert('<?php echo $langs->transnoentitiesnoconv("markRateShouldBeLesserThan100"); ?>');
e.stopPropagation();