From: skodak Date: Tue, 26 Sep 2006 06:31:18 +0000 (+0000) Subject: fixed missing global $CFG X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=05f8f7e76b96b80986f11567a3ee06fb75f89663;p=moodle.git fixed missing global $CFG --- 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);