diff options
Diffstat (limited to 'app/Core')
-rw-r--r-- | app/Core/Request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Request.php b/app/Core/Request.php index c7ca3184..b399a1f0 100644 --- a/app/Core/Request.php +++ b/app/Core/Request.php @@ -83,7 +83,7 @@ class Request */ public function getJson() { - return json_decode($this->getBody(), true); + return json_decode($this->getBody(), true) ?: array(); } /** |