From ab1a4760ed5b35cf58fc6f3f4e3c31be4cff17f2 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 22 Sep 2014 14:31:12 +0200 Subject: Basic prototype to handle Github webhooks --- app/Core/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Core/Request.php') 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'] : ''; } } -- cgit v1.2.3