aboutsummaryrefslogtreecommitdiffstats
path: root/public.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-07-02 15:30:34 +0200
committerVincent Petry <pvince81@owncloud.com>2014-07-02 15:30:34 +0200
commit44c1dc8153d174a8714fd5df6e82e7c48ac4f2b7 (patch)
treeb5e613dd99a8eed77559f7a931fd00124cd614e7 /public.php
parent904e3102d31e9572cd6d9202e3489d725ce180f1 (diff)
downloadnextcloud-server-44c1dc8153d174a8714fd5df6e82e7c48ac4f2b7.tar.gz
nextcloud-server-44c1dc8153d174a8714fd5df6e82e7c48ac4f2b7.zip
Fix service warning
Diffstat (limited to 'public.php')
-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, '/');