aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-02 13:53:21 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-02 13:53:21 +0000
commit67b314045b68e66cd33b250679eeebf3a427c8ce (patch)
tree145a374712f786e05e92b87a61ca1d8d9a175f84 /engine/lib
parentb4d8eccb0ef06eee437dd873c8a8fe5751cbcef8 (diff)
downloadelgg-67b314045b68e66cd33b250679eeebf3a427c8ce.tar.gz
elgg-67b314045b68e66cd33b250679eeebf3a427c8ce.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* BUGFIX: Missing $CONFIG from insert_data git-svn-id: https://code.elgg.org/elgg/trunk@768 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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.");