mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Replace methods with safe variants. Let's see how this works out.
This commit is contained in:
@@ -48,7 +48,7 @@ class TransactionRequest extends FormRequest
|
||||
|
||||
try {
|
||||
$data = [
|
||||
'query' => json_decode($this->get('query'), true, 8, JSON_THROW_ON_ERROR),
|
||||
'query' => \Safe\json_decode($this->get('query'), true, 8, JSON_THROW_ON_ERROR),
|
||||
];
|
||||
} catch (\JsonException $e) {
|
||||
// dont really care. the validation should catch invalid json.
|
||||
|
Reference in New Issue
Block a user