]> git.mjollnir.org Git - moodle.git/commitdiff
fixed missing global $CFG
authorskodak <skodak>
Tue, 26 Sep 2006 06:31:18 +0000 (06:31 +0000)
committerskodak <skodak>
Tue, 26 Sep 2006 06:31:18 +0000 (06:31 +0000)
lib/dmllib.php

index 5bb91c4171da998ea4bf6c40fe6d81ee3f48692e..76080522c89e4b216dadeeba0cdfc3d1f7f3f93c 100644 (file)
@@ -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);