From: stronk7 Date: Mon, 4 Sep 2006 22:30:56 +0000 (+0000) Subject: $CFG required. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fda5418401d7c98f36711aeda2f07f3fc58cefbe;p=moodle.git $CFG required. --- diff --git a/lib/dmllib.php b/lib/dmllib.php index bdfa5b8367..21322d3cd1 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -1286,7 +1286,7 @@ function sql_isnull($fieldname) { * @ return string the keyword */ function sql_as() { - global $db; + global $CFG, $db; switch ($CFG->dbtype) { case 'postgres7':