aboutsummaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
Diffstat (limited to 'php')
-rw-r--r--php/readfile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/readfile.php b/php/readfile.php
index 9c30ee5..0988e78 100644
--- a/php/readfile.php
+++ b/php/readfile.php
@@ -24,7 +24,7 @@ if (!$dir) {
exit(0);
}
-$contents_of_dir = $database->get_links_of($dir);
+$contents_of_dir = $database->get_links_of($dir,$user->user_id);
$file_node = null;
foreach ($contents_of_dir as $c) {