Skip to content
Snippets Groups Projects
Commit 7842b416 authored by Robin Appelman's avatar Robin Appelman
Browse files

Share: fix breadcrumbs for public shared folder

parent 76268876
Branches
No related tags found
No related merge requests found
...@@ -148,7 +148,7 @@ if (isset($path)) { ...@@ -148,7 +148,7 @@ if (isset($path)) {
// Make breadcrumb // Make breadcrumb
$breadcrumb = array(); $breadcrumb = array();
$pathtohere = ''; $pathtohere = '';
foreach (explode('/', $dir) as $i) { foreach (explode('/', $getPath) as $i) {
if ($i != '') { if ($i != '') {
$pathtohere .= '/' . $i; $pathtohere .= '/' . $i;
$breadcrumb[] = array('dir' => $pathtohere, 'name' => $i); $breadcrumb[] = array('dir' => $pathtohere, 'name' => $i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment