diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-21 12:19:06 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-21 12:19:06 -0400 |
commit | d7a8160c2b422dcf950093d9d17d90f1e80201de (patch) | |
tree | 51ad4b6bd086e178406ec2b6c5b29699f7917cf7 /app/Core | |
parent | 98fd34bfe340fae6d0fd3b7333b6f9a6647cbae2 (diff) |
Update Bitbucket webhooks to handle issues/commit/comments
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(); } /** |