aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-12-02 15:27:40 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-12-02 16:30:03 +0100
commitee66db447fc12aed4ef441710a29fab2e03aa47e (patch)
treedc9ec7b20ce51f677396041198082a33fd068292 /apps/files_trashbin/lib
parenta81d4175ba1d0625a0096c6383f1af4505eb1d4d (diff)
downloadnextcloud-server-ee66db447fc12aed4ef441710a29fab2e03aa47e.tar.gz
nextcloud-server-ee66db447fc12aed4ef441710a29fab2e03aa47e.zip
make it possible to select folders
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r--apps/files_trashbin/lib/helper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_trashbin/lib/helper.php b/apps/files_trashbin/lib/helper.php
index 4f442ee9304..c454b35a5f2 100644
--- a/apps/files_trashbin/lib/helper.php
+++ b/apps/files_trashbin/lib/helper.php
@@ -44,8 +44,10 @@ class Helper
}
$files = array();
+ $id = 0;
foreach ($result as $r) {
$i = array();
+ $i['id'] = $id++;
$i['name'] = $r['id'];
$i['date'] = \OCP\Util::formatDate($r['timestamp']);
$i['timestamp'] = $r['timestamp'];