From fda5418401d7c98f36711aeda2f07f3fc58cefbe Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 4 Sep 2006 22:30:56 +0000 Subject: [PATCH] $CFG required. --- lib/dmllib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- 2.39.5