summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-02-11 11:44:18 +0100
committerRobin Appelman <icewind@owncloud.com>2013-02-11 11:44:18 +0100
commit7842b416d1c85a723368148ea9cbe6d34378af69 (patch)
tree833b4e6d48721352fa51e318c0ed796a248c5d1c
parent762688762f0b4536087d8d6e8bd8d1c9562f00d1 (diff)
downloadnextcloud-server-7842b416d1c85a723368148ea9cbe6d34378af69.tar.gz
nextcloud-server-7842b416d1c85a723368148ea9cbe6d34378af69.zip
Share: fix breadcrumbs for public shared folder
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 04dcbd680e3..4b536097414 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -148,7 +148,7 @@ if (isset($path)) {
// Make breadcrumb
$breadcrumb = array();
$pathtohere = '';
- foreach (explode('/', $dir) as $i) {
+ foreach (explode('/', $getPath) as $i) {
if ($i != '') {
$pathtohere .= '/' . $i;
$breadcrumb[] = array('dir' => $pathtohere, 'name' => $i);