$CFG required.

This commit is contained in:
stronk7
2006-09-04 22:30:56 +00:00
parent 010f2a3977
commit fda5418401
+1 -1
View File
@@ -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':