mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 11:48:05 +00:00
Clean up old tests.
This commit is contained in:
@@ -154,7 +154,10 @@ trait RecurrenceValidation
|
||||
* @var array $repetition
|
||||
*/
|
||||
foreach ($repetitions as $index => $repetition) {
|
||||
if(null === $repetition['moment']) {
|
||||
if (!array_key_exists('moment', $repetition)) {
|
||||
continue;
|
||||
}
|
||||
if (null === $repetition['moment']) {
|
||||
$repetition['moment'] = '';
|
||||
}
|
||||
$repetition['moment'] = $repetition['moment'] ?? 'invalid';
|
||||
|
Reference in New Issue
Block a user