Basic prototype to handle Github webhooks

This commit is contained in:
Frédéric Guillot
2014-09-22 14:31:12 +02:00
parent eeb4688dcc
commit ab1a4760ed
7 changed files with 168 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ class Request
*/
public function getQueryString()
{
return $_SERVER['QUERY_STRING'];
return isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '';
}
}