aboutsummaryrefslogtreecommitdiffstats
path: root/php/database.php
diff options
context:
space:
mode:
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");