- fix: a typo in DatabaseLink.pm

- fix: a typo in CleanTempSpace.pm
 - fix: an unhandled exception in Asset/File.pm
This commit is contained in:
JT Smith 2007-04-04 16:03:34 +00:00
parent b131c4b146
commit fdf9c65ab5
4 changed files with 20 additions and 15 deletions

View file

@ -139,7 +139,7 @@ sub db {
} elsif ($dsn =~ /\DBI\:\w+\:\w+/i) {
my $dbh = WebGUI::SQL->connect($self->session,$dsn,$username,$identifier);
unless (defined $dbh) {
$self->session->errorHandler->arn("Cannot connect to DatabaseLink [".$self->getId."]");
$self->session->errorHandler->warn("Cannot connect to DatabaseLink [".$self->getId."]");
}
$self->{_dbh} = $dbh;
return $self->{_dbh};