This commit is contained in:
James Cole 2024-01-04 07:25:24 +01:00
parent 6bdae03961
commit 292b9ac9d0
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -40,10 +40,10 @@ class IsValidZeroOrMoreAmount implements ValidationRule
return;
}
// must be more than zero:
// must be zero or more
if(!$this->zeroOrMore($value)) {
$fail('validation.more_than_zero_correct')->translate();
Log::info(sprintf('IsValidZeroOrMoreAmount: "%s" must be more than zero.', $value));
Log::info(sprintf('IsValidZeroOrMoreAmount: "%s" must be zero or more.', $value));
return;
}