summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-21 12:19:06 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-21 12:19:06 -0400
commitd7a8160c2b422dcf950093d9d17d90f1e80201de (patch)
tree51ad4b6bd086e178406ec2b6c5b29699f7917cf7 /app/Core
parent98fd34bfe340fae6d0fd3b7333b6f9a6647cbae2 (diff)
Update Bitbucket webhooks to handle issues/commit/comments
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/Request.php2
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();
}
/**