summaryrefslogtreecommitdiff
path: root/app/Core/Request.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-22 14:31:12 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-22 14:31:12 +0200
commitab1a4760ed5b35cf58fc6f3f4e3c31be4cff17f2 (patch)
tree757920b994d75df9490c2489e20513835913f465 /app/Core/Request.php
parenteeb4688dcc7caafeaa020a3cd9d78d18aea30353 (diff)
Basic prototype to handle Github webhooks
Diffstat (limited to 'app/Core/Request.php')
-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 e86cf609..09792013 100644
--- a/app/Core/Request.php
+++ b/app/Core/Request.php
@@ -145,7 +145,7 @@ class Request
*/
public function getQueryString()
{
- return $_SERVER['QUERY_STRING'];
+ return isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '';
}
}