diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-07-02 15:30:34 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-07-02 15:30:34 +0200 |
commit | 44c1dc8153d174a8714fd5df6e82e7c48ac4f2b7 (patch) | |
tree | b5e613dd99a8eed77559f7a931fd00124cd614e7 /public.php | |
parent | 904e3102d31e9572cd6d9202e3489d725ce180f1 (diff) | |
download | nextcloud-server-44c1dc8153d174a8714fd5df6e82e7c48ac4f2b7.tar.gz nextcloud-server-44c1dc8153d174a8714fd5df6e82e7c48ac4f2b7.zip |
Fix service warning
Diffstat (limited to 'public.php')
-rw-r--r-- | public.php | 2 |
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, '/'); |