summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax/undelete.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-22 12:13:50 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-22 15:33:54 +0100
commit97e69e537441abe1082bada0c96e8947a14a2083 (patch)
treed9e40b4721f854645538546ed7a4b6906cd5cdd0 /apps/files_trashbin/ajax/undelete.php
parent81ab0affef47c99239e7bff77e5964788a61aa2a (diff)
downloadnextcloud-server-97e69e537441abe1082bada0c96e8947a14a2083.tar.gz
nextcloud-server-97e69e537441abe1082bada0c96e8947a14a2083.zip
remove table row in trash bin view after undelete
Diffstat (limited to 'apps/files_trashbin/ajax/undelete.php')
-rw-r--r--apps/files_trashbin/ajax/undelete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/ajax/undelete.php b/apps/files_trashbin/ajax/undelete.php
index 5aa6436ae53..178d85ccf38 100644
--- a/apps/files_trashbin/ajax/undelete.php
+++ b/apps/files_trashbin/ajax/undelete.php
@@ -25,7 +25,7 @@ foreach ($list as $file) {
if ( !OCA_Trash\Trashbin::restore($file, $filename, $timestamp) ) {
$error[] = $filename;
} else {
- $success[$i]['filename'] = $filename;
+ $success[$i]['filename'] = $file;
$success[$i]['timestamp'] = $timestamp;
$i++;
}