mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Replace methods with safe variants. Let's see how this works out.
This commit is contained in:
@@ -138,7 +138,7 @@ class UniqueAccountNumber implements ValidationRule
|
||||
->where('accounts.user_id', auth()->user()->id)
|
||||
->where('account_types.type', $type)
|
||||
->where('account_meta.name', '=', 'account_number')
|
||||
->where('account_meta.data', json_encode($accountNumber))
|
||||
->where('account_meta.data', \Safe\json_encode($accountNumber))
|
||||
;
|
||||
|
||||
if (null !== $this->account) {
|
||||
|
Reference in New Issue
Block a user