aboutsummaryrefslogtreecommitdiffstats
path: root/php/database.php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-15 11:50:31 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-15 11:50:31 +0200
commit66f4891f63f0bbd58bf6da82e409512788a02983 (patch)
treea5aca9cd0a596df3ff8fec00c29c97d0d24f8e73 /php/database.php
parentda7b9b5455c46abcab2d093147b21430ee42683a (diff)
downloadfileup-66f4891f63f0bbd58bf6da82e409512788a02983.tar.gz
Respecting write permissions
Diffstat (limited to 'php/database.php')
-rw-r--r--php/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/database.php b/php/database.php
index 9d1f782..1be9059 100644
--- a/php/database.php
+++ b/php/database.php
@@ -128,7 +128,7 @@ require_once "node.php";
nodes.code as code,
nodes.type as mimetype,
node_access.can_view as can_view,
- node_access.can_view as can_eddit
+ node_access.can_edit as can_edit
from node_links
inner join nodes on
nodes.node_id=node_links.node_id