diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php
index b78fd4e2563ff3719e62d0f7d9f219fe069562f9..1aceb8ffefddf48976038ab74d2c0d7d8755fa7a 100644
--- a/apps/files_trashbin/index.php
+++ b/apps/files_trashbin/index.php
@@ -67,7 +67,8 @@ foreach ($result as $r) {
 }
 
 // Make breadcrumb
-$pathtohere = '';
+$pathtohere = '';
+$breadcrumb = array();
 foreach (explode('/', $dir) as $i) {
 	if ($i != '') {
 		if ( preg_match('/^(.+)\.d[0-9]+$/', $i, $match) ) {