diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-10-24 13:10:30 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-10-24 13:11:29 +0200 |
commit | a9a27306dea1e7e78945c05ac92e8e941dd4e271 (patch) | |
tree | 8bb1bbd08627fc97a5fa87c87fec42160cba69cc | |
parent | 1d200c554fbd86336422fd46b11166869e66474d (diff) | |
download | nextcloud-server-a9a27306dea1e7e78945c05ac92e8e941dd4e271.tar.gz nextcloud-server-a9a27306dea1e7e78945c05ac92e8e941dd4e271.zip |
fix copy&paste bug from previous commit
-rw-r--r-- | apps/files_sharing/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index a8813085d09..5f74c8e5266 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -49,7 +49,7 @@ if (isset($_GET['file']) || isset($_GET['dir'])) { $dir = $baseDir;
} else {
$type = 'file';
- $path = $_GET['dir'];
+ $path = $_GET['file'];
if(strlen($path)>1 and substr($path, -1, 1)==='/') {
$path=substr($path, 0, -1);
}
|