Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Blind validator update.
James Cole8a02ead01343
diff --git a/app/Validation/FireflyValidator.php b/app/Validation/FireflyValidator.phpindex ad79b25c05..a27e3c8001 100644--- a/app/Validation/FireflyValidator.php+++ b/app/Validation/FireflyValidator.php@@ -272,7 +272,9 @@ class FireflyValidator extends Validator$exclude = isset($parameters[2]) ? intval($parameters[2]) : 0;// get entries from table- $set = DB::table($table)->where('user_id', Auth::user()->id)->where('id', '!=', $exclude)->get([$field]);+ $set = DB::table($table)->where('user_id', Auth::user()->id)+ ->whereNull('deleted_at')+ ->where('id', '!=', $exclude)->get([$field]);foreach ($set as $entry) {$fieldValue = $this->tryDecrypt($entry->$field);