missing global dbh
This commit is contained in:
@@ -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');
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user