diff --git a/ChangeLog b/ChangeLog index 9c6cb4535..393f41167 100755 --- a/ChangeLog +++ b/ChangeLog @@ -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ïc Chapeaux * tbl_printview.php3: fix for #611499 (empty comment column) diff --git a/db_details_qbe.php3 b/db_details_qbe.php3 index 72375e2a3..f970fb2d5 100755 --- a/db_details_qbe.php3 +++ b/db_details_qbe.php3 @@ -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'); -?> \ No newline at end of file +?>