Merge pull request #1564 from schiesbn/trash_bin_breadcrumbs

don't add a extra 'Trash' breadcrumb since we have the home-symbol now
This commit is contained in:
Bernhard Posselt 2013-02-10 01:56:11 -08:00
commit 76a6209c8e
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ foreach ($result as $r) {
}
// Make breadcrumb
$breadcrumb = array(array('dir' => '', 'name' => 'Trash'));
$pathtohere = '';
$pathtohere = '';
$breadcrumb = array();
foreach (explode('/', $dir) as $i) {
if ($i != '') {
if ( preg_match('/^(.+)\.d[0-9]+$/', $i, $match) ) {