buildArray, buildArrayRef should only use the first column of results
This commit is contained in:
parent
0be310bb38
commit
b6cfd088c7
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ sub buildArrayRef {
|
|||
$sth->execute($params);
|
||||
my @array;
|
||||
while (my $data = $sth->arrayRef) {
|
||||
push @array, @$data;
|
||||
push @array, $data->[0];
|
||||
}
|
||||
return \@array;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue