Share: fix breadcrumbs for public shared folder

This commit is contained in:
Robin Appelman 2013-02-11 11:44:18 +01:00
parent 762688762f
commit 7842b416d1
1 changed files with 1 additions and 1 deletions

View 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);