bugfix [ 912400 ] db link not working

This commit is contained in:
JT Smith 2004-03-25 19:52:19 +00:00
parent 3f8162519f
commit 2e240b8cda
5 changed files with 9 additions and 11 deletions

View file

@ -154,7 +154,7 @@ sub dbh {
$dsn = $class->{_databaseLink}{DSN};
$username = $class->{_databaseLink}{username};
$identifier = $class->{_databaseLink}{identifier};
if ($class->{databaseLinkId} == 0) {
if ($class->{_databaseLinkId} == 0) {
$class->{_dbh} = $session{dbh};
return $session{dbh};
} elsif ($dsn =~ /\DBI\:\w+\:\w+/i) {