[Pkg-owncloud-commits] [owncloud] 388/394: variables in php start with $

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:12:57 UTC 2013


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

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 9cc1530cdd1dc19f83e70cc507ef49785f834e42
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date:   Wed Mar 27 18:04:44 2013 +0100

    variables in php start with $
    
    people should use an ide to show them these bugs!
---
 apps/files_sharing/public.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 80599b0..d376947 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -184,7 +184,7 @@ if ($linkItem) {
 				if ($files_list === NULL ) {
 					$files_list = array($files);
 				}
-				OC_Files::get($path, files_list, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
+				OC_Files::get($path, $files_list, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
 			} else if (isset($_GET['path']) && $_GET['path'] != '' ) { // download a file from a shared directory
 				OC_Files::get($dir, $file, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
 			} else { // download the whole shared directory

-- 
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