summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/index.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-18 18:16:19 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-18 18:16:19 +0100
commit37352bba96033069107ca791b10b71c9505ca5d7 (patch)
tree7e9c6b86d6a02f6fd6f0e3eb862d3ae71c0c92c3 /apps/files_trashbin/index.php
parent96ae110a2cbd8341aa175e4361cc8bc044bc6105 (diff)
downloadnextcloud-server-37352bba96033069107ca791b10b71c9505ca5d7.tar.gz
nextcloud-server-37352bba96033069107ca791b10b71c9505ca5d7.zip
close file handler after readdir()
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 a2d4cc0a44d..5d6b5d94e5c 100644
--- a/apps/files_trashbin/index.php
+++ b/apps/files_trashbin/index.php
@@ -37,7 +37,7 @@ if ($dir) {
);
}
}
- closedir($fullpath);
+ closedir($dirContent);
} else {
$dirlisting = false;