]> source.dussan.org Git - nextcloud-server.git/commitdiff
Share: fix breadcrumbs for public shared folder
authorRobin Appelman <icewind@owncloud.com>
Mon, 11 Feb 2013 10:44:18 +0000 (11:44 +0100)
committerRobin Appelman <icewind@owncloud.com>
Mon, 11 Feb 2013 10:44:18 +0000 (11:44 +0100)
apps/files_sharing/public.php

index 04dcbd680e3d5de8e4b0fae3d05131383fd8bf5c..4b536097414683bec86f6895c9516622e037ab19 100644 (file)
@@ -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);