$CFG required.
This commit is contained in:
+1
-1
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user