more bug fixes
This commit is contained in:
parent
3c66a9105f
commit
7aede0fcb7
2 changed files with 3 additions and 3 deletions
|
|
@ -591,7 +591,7 @@ sub read {
|
|||
my $self = shift;
|
||||
my $sql = shift;
|
||||
my $placeholders = shift;
|
||||
return WebGUI::SQL::ResultSet->read($sql,$self);
|
||||
return WebGUI::SQL::ResultSet->read($sql, $self, $placeholders);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -690,7 +690,7 @@ sub unconditionalRead {
|
|||
my $self = shift;
|
||||
my $sql = shift;
|
||||
my $placeholders = shift;
|
||||
return WebGUI::SQL::ResultSet->unconditionalRead($sql, $self);
|
||||
return WebGUI::SQL::ResultSet->unconditionalRead($sql, $self, $placeholders);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ sub prepare {
|
|||
my $db = shift;
|
||||
$db->session->errorHandler->debug("query: ".$sql);
|
||||
my $sth = $db->dbh->prepare($sql) or $db->session->errorHandler->fatal("Couldn't prepare statement: ".$sql." : ". $db->dbh->errstr);
|
||||
bless ({_sth => $sth, _sql => $sql, _db=>$db}, $class);
|
||||
bless {_sth => $sth, _sql => $sql, _db=>$db}, $class;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue