mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix wording for https://github.com/firefly-iii/firefly-iii/issues/8328
This commit is contained in:
parent
6bdae03961
commit
292b9ac9d0
@ -40,10 +40,10 @@ class IsValidZeroOrMoreAmount implements ValidationRule
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// must be more than zero:
|
// must be zero or more
|
||||||
if(!$this->zeroOrMore($value)) {
|
if(!$this->zeroOrMore($value)) {
|
||||||
$fail('validation.more_than_zero_correct')->translate();
|
$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;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user