aboutsummaryrefslogtreecommitdiffstats
path: root/php/database.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 17:09:33 +0200
committeradam <adam@>2021-02-12 17:09:33 +0200
commit69c729e663d3b50188629e82c6e41662aae64e4d (patch)
treeb27858dc11c324fb3fa227c52741d864bb9d6b82 /php/database.php
parentfe005fb926ad568333655a0794338516e4af5b9d (diff)
downloadfileup-69c729e663d3b50188629e82c6e41662aae64e4d.tar.gz
asdf
Diffstat (limited to 'php/database.php')
-rw-r--r--php/database.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/php/database.php b/php/database.php
index 0c5f9a8..f9b672d 100644
--- a/php/database.php
+++ b/php/database.php
@@ -242,6 +242,7 @@ require_once "node.php";
nodes.node_id=node_access.node_id
where nodes.node_id=:dir_id
");
+ $dir_prep->bindParam(':dir_id',$dir_id);
if($dir_prep->execute()==false)
{
error_log("could not exedude dir sql statement in create_file_node");