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

@@ -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');
?>
?>