mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 17:31:09 -06:00
Blind validator update.
This commit is contained in:
parent
930d5ab941
commit
8a02ead013
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user