Asset/Template: bad call to session->db->read

DatabaseLink, typo in sesssion
This commit is contained in:
Colin Kuskie 2006-01-16 00:39:30 +00:00
parent 75aed8bbc5
commit e1a90f66fd
2 changed files with 3 additions and 3 deletions

View file

@ -134,7 +134,7 @@ sub db {
my $username = $self->{_databaseLink}{username};
my $identifier = $self->{_databaseLink}{identifier};
if ($self->getId eq "0") {
$self->{_dbh} = $self->sesssion->db;
$self->{_dbh} = $self->session->db;
return $self->{_dbh};
} elsif ($dsn =~ /\DBI\:\w+\:\w+/i) {
eval{