aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/index.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-08-23 23:10:37 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-08-23 23:10:37 +0200
commit6ffa2a28d0ae63b061e1e88ee3b12726d31c3f9d (patch)
treeb564539f21866e6049d69da6d011647ff46540f7 /apps/files_trashbin/index.php
parent1dab0767502013b5e86e8e24e3b12a2a8939f7a8 (diff)
parent02b2b5a808b135007d8d54b837e70c38f02729fd (diff)
downloadnextcloud-server-6ffa2a28d0ae63b061e1e88ee3b12726d31c3f9d.tar.gz
nextcloud-server-6ffa2a28d0ae63b061e1e88ee3b12726d31c3f9d.zip
Merge branch 'master' into oc_preview
Diffstat (limited to 'apps/files_trashbin/index.php')
-rw-r--r--apps/files_trashbin/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php
index 6ae238eb8eb..0baeab1de97 100644
--- a/apps/files_trashbin/index.php
+++ b/apps/files_trashbin/index.php
@@ -23,7 +23,7 @@ if ($dir) {
$dirlisting = true;
$dirContent = $view->opendir($dir);
$i = 0;
- while($entryName = readdir($dirContent)) {
+ while(($entryName = readdir($dirContent)) !== false) {
if (!\OC\Files\Filesystem::isIgnoredDir($entryName)) {
$pos = strpos($dir.'/', '/', 1);
$tmp = substr($dir, 0, $pos);