fix
This commit is contained in:
parent
067170b8c9
commit
fd32315866
1 changed files with 3 additions and 2 deletions
|
|
@ -220,8 +220,9 @@ An array reference containing values for any placeholder params used in the SQL
|
||||||
sub buildArrayRefOfHashRefs {
|
sub buildArrayRefOfHashRefs {
|
||||||
my @array;
|
my @array;
|
||||||
my $sth = $_[0]->read($_[1],$_[2]);
|
my $sth = $_[0]->read($_[1],$_[2]);
|
||||||
while ($sth->hashRef) {
|
my $data;
|
||||||
push(@array,$_);
|
while ($data = $sth->hashRef) {
|
||||||
|
push(@array,$data);
|
||||||
}
|
}
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
return \@array;
|
return \@array;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue