[Pkg-owncloud-commits] [owncloud] 205/273: Fix service warning

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:13:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 44c1dc8153d174a8714fd5df6e82e7c48ac4f2b7
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Wed Jul 2 15:30:34 2014 +0200

    Fix service warning
---
 public.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public.php b/public.php
index 1f858fd..2ac082d 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, '/');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list