From 05f8f7e76b96b80986f11567a3ee06fb75f89663 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 26 Sep 2006 06:31:18 +0000 Subject: [PATCH] fixed missing global $CFG --- lib/dmllib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dmllib.php b/lib/dmllib.php index 5bb91c4171..76080522c8 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -874,6 +874,7 @@ function get_field_select($table, $return, $select) { * @return mixed the specified value, or false if an error occured. */ function get_field_sql($sql) { + global $CFG; $rs = get_recordset_sql($sql); -- 2.39.5