mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Catch various errors.
This commit is contained in:
@@ -205,7 +205,7 @@ trait RecurringTransactionTrait
|
||||
$entry->value = implode(',', $tags);
|
||||
$entry->save();
|
||||
}
|
||||
if (\count($tags) === 0) {
|
||||
if (0 === \count($tags)) {
|
||||
// delete if present
|
||||
$recurrence->recurrenceMeta()->where('name', 'tags')->delete();
|
||||
}
|
||||
|
Reference in New Issue
Block a user