From d7a8160c2b422dcf950093d9d17d90f1e80201de Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 21 Jun 2015 12:19:06 -0400 Subject: Update Bitbucket webhooks to handle issues/commit/comments --- app/Core/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Core') 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(); } /** -- cgit v1.2.3