mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove safe methods.
This commit is contained in:
@@ -34,7 +34,7 @@ trait ValidatesBulkTransactionQuery
|
||||
$data = $validator->getData();
|
||||
// assumption is all validation has already taken place and the query key exists.
|
||||
$query = $data['query'] ?? '[]';
|
||||
$json = \Safe\json_decode($query, true, 8, JSON_THROW_ON_ERROR);
|
||||
$json = json_decode($query, true, 8, JSON_THROW_ON_ERROR);
|
||||
|
||||
if (
|
||||
array_key_exists('where', $json)
|
||||
|
Reference in New Issue
Block a user