]> source.dussan.org Git - nextcloud-server.git/commitdiff
Trash: fix download.php
authorRobin Appelman <icewind@owncloud.com>
Wed, 27 Feb 2013 19:31:21 +0000 (20:31 +0100)
committerRobin Appelman <icewind@owncloud.com>
Wed, 27 Feb 2013 19:31:21 +0000 (20:31 +0100)
apps/files_trashbin/download.php

index 665697dca5f37527980e54a4cae148543d7460da..60328e1dddbef395f01567cf0b21cc157125b951 100644 (file)
@@ -26,7 +26,7 @@ OCP\User::checkLoggedIn();
 
 $filename = $_GET["file"];
 
-$view = new OC_FilesystemView('/'.\OCP\User::getUser().'/files_trashbin');
+$view = new OC_FilesystemView('/'.\OCP\User::getUser().'/files_trashbin/files');
 
 if(!$view->file_exists($filename)) {
        header("HTTP/1.0 404 Not Found");