summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public.php b/public.php
index 1f858fd073d..2ac082dba57 100644
--- a/public.php
+++ b/public.php
@@ -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, '/');