mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Share: fix breadcrumbs for public shared folder
This commit is contained in:
parent
762688762f
commit
7842b416d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue