mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Include safe methods and require the correct package.
This commit is contained in:
@@ -133,7 +133,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