[Pkg-owncloud-commits] [owncloud] 58/67: fix copy&paste error from	previous commit
    David Prévot 
    taffit at alioth.debian.org
       
    Fri Nov  8 23:10:45 UTC 2013
    
    
  
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.1
in repository owncloud.
commit 296884b24ad75ec018f5198c27a2379f3ee8440b
Author: Björn Schießle <schiessle at owncloud.com>
Date:   Mon Oct 22 13:53:55 2012 +0200
    fix copy&paste error from previous commit
---
 apps/files_sharing/public.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 7e2da1b..9e3caab 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -25,7 +25,7 @@ if (isset($_GET['file']) || isset($_GET['dir'])) {
 	if (isset($_GET['dir'])) {
 		$type = 'folder';
 		$path = $_GET['dir'];
-		if($stripTrailingSlash and strlen($path)>1 and substr($path,-1,1)==='/') {
+		if(strlen($path)>1 and substr($path,-1,1)==='/') {
 			$path=substr($path,0,-1);
 		}
 		$baseDir = $path;
@@ -33,7 +33,7 @@ if (isset($_GET['file']) || isset($_GET['dir'])) {
 	} else {
 		$type = 'file';
 		$path = $_GET['file'];
-		if($stripTrailingSlash and strlen($path)>1 and substr($path,-1,1)==='/') {
+		if(strlen($path)>1 and substr($path,-1,1)==='/') {
 			$path=substr($path,0,-1);
 		}
 	}
-- 
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