fixing some more bugs

This commit is contained in:
JT Smith 2005-02-16 04:57:27 +00:00
parent b282bef403
commit 3b713d22d1
2 changed files with 12 additions and 5 deletions

View file

@ -279,7 +279,7 @@ sub execute {
my $self = shift;
my $placeholders = shift || [];
my $sql = $self->{_sql};
$self->{_sth}->execute(@$placeholders) or WebGUI::ErrorHandler::fatalError("Couldn't execute prepared statement: $sql Root cause: ". DBI->errstr);
$self->{_sth}->execute(@{$placeholders}) or WebGUI::ErrorHandler::fatalError("Couldn't execute prepared statement: $sql Root cause: ". DBI->errstr);
}