James Cole
2021-02-15 06:39:55 +01:00
parent e51f593a2d
commit e64b5dcf3a
8 changed files with 258 additions and 98 deletions

View File

@@ -269,7 +269,7 @@ class BudgetRepository implements BudgetRepositoryInterface
// try to create associated auto budget:
$type = $data['auto_budget_type'] ?? 0;
if (0 === $type) {
if (0 === $type || '' === $type || 'none' === $type) {
return $newBudget;
}
if ('reset' === $type) {