Fix service warning

This commit is contained in:
Vincent Petry 2014-07-02 15:30:34 +02:00
parent 904e3102d3
commit 44c1dc8153
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ try {
if (!$pathInfo && !isset($_GET['service'])) {
header('HTTP/1.0 404 Not Found');
exit;
} elseif ($_GET['service']) {
} elseif (isset($_GET['service'])) {
$service = $_GET['service'];
} else {
$pathInfo = trim($pathInfo, '/');