missing global dbh

This commit is contained in:
Marc Delisle
2002-09-19 18:32:56 +00:00
parent 2c78034e90
commit ff58e6e599
2 changed files with 3 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ $Source$
* libraries/sqlparser.lib.php3, bug 608459: syntax coloring and
alias without AS
* libraries/display_tbl.lib.php3, bug 574852: relation and ORDER BY
* db_details_qbe.php3: missing global $dbh
2002-09-19 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_printview.php3: fix for #611499 (empty comment column)

View File

@@ -925,7 +925,7 @@ if (isset($Field) && count($Field) > 0) {
// master to foreign or vice versa
function getrelatives($from) {
global $tab_left,$tab_know,$fromclause,$db,$cfgRelation;
global $tab_left,$tab_know,$fromclause,$db,$cfgRelation,$dbh;
if ($from == 'master') {
$to = 'foreign';
} else {
@@ -1086,4 +1086,4 @@ if (!empty($qry_orderby)) {
* Displays the footer
*/
require('./footer.inc.php3');
?>
?>