Skip to content

Firefly III: a personal finances manager

Fix wording for https://github.com/firefly-iii/firefly-iii/issues/8328

James Cole292b9ac9d007
diff --git a/app/Rules/IsValidZeroOrMoreAmount.php b/app/Rules/IsValidZeroOrMoreAmount.php
index e959b8faa9..8273b10096 100644
--- a/app/Rules/IsValidZeroOrMoreAmount.php
+++ b/app/Rules/IsValidZeroOrMoreAmount.php
@@ -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;
}