From 67b314045b68e66cd33b250679eeebf3a427c8ce Mon Sep 17 00:00:00 2001 From: icewing Date: Mon, 2 Jun 2008 13:53:21 +0000 Subject: Marcus Povey * BUGFIX: Missing $CONFIG from insert_data git-svn-id: https://code.elgg.org/elgg/trunk@768 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); -- cgit v1.2.3