aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-15 11:52:48 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-15 11:52:48 +0200
commitd0f5a17fbf8e41c6d1553dc93b8be5db804388e2 (patch)
treefc4c6c1ea3bfa420d237d3c7f22c026b568e5352
parent66f4891f63f0bbd58bf6da82e409512788a02983 (diff)
parente4dbef0a89f612d294810d55dbb96539cf992d60 (diff)
downloadfileup-d0f5a17fbf8e41c6d1553dc93b8be5db804388e2.tar.gz
Merge branch 'master' of https://github.com/alexvitkov/india
-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) {