Skip to content
Snippets Groups Projects
Commit 44c1dc81 authored by Vincent Petry's avatar Vincent Petry
Browse files

Fix service warning

parent 904e3102
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ try { ...@@ -17,7 +17,7 @@ try {
if (!$pathInfo && !isset($_GET['service'])) { if (!$pathInfo && !isset($_GET['service'])) {
header('HTTP/1.0 404 Not Found'); header('HTTP/1.0 404 Not Found');
exit; exit;
} elseif ($_GET['service']) { } elseif (isset($_GET['service'])) {
$service = $_GET['service']; $service = $_GET['service'];
} else { } else {
$pathInfo = trim($pathInfo, '/'); $pathInfo = trim($pathInfo, '/');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment