aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r--engine/lib/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php
index 41c514b69..c09b07d57 100644
--- a/engine/lib/database.php
+++ b/engine/lib/database.php
@@ -754,7 +754,7 @@
function insert_data($query) {
- global $dbcalls;
+ global $CONFIG, $dbcalls;
if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true))
throw new DatabaseException("Access to privileged function 'insert_data()' is denied.");