aboutsummaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-15 11:52:01 +0200
committeradam <adam@>2021-02-15 11:52:01 +0200
commite4dbef0a89f612d294810d55dbb96539cf992d60 (patch)
treea0cb6d16b4fad4454764125087a20e2933407904 /php
parentda7b9b5455c46abcab2d093147b21430ee42683a (diff)
downloadfileup-e4dbef0a89f612d294810d55dbb96539cf992d60.tar.gz
only one of many errors due to change in get_links_of
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) {