mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-11-02 20:30:37 -06:00
Error about not submitting a repetition is given under "repetitions". #2483
This commit is contained in:
1 parent
f884880ab8
commit
ac64bac558
1 file changed
+1
-1
@@ -48,7 +48,7 @@ trait RecurrenceValidation
|
||||
$repetitions = $data['repetitions'] ?? [];
|
||||
// need at least one transaction
|
||||
if (0 === count($repetitions)) {
|
||||
$validator->errors()->add('description', (string)trans('validation.at_least_one_repetition'));
|
||||
$validator->errors()->add('repetitions', (string)trans('validation.at_least_one_repetition'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user