some bug fixing

This commit is contained in:
JT Smith 2008-05-17 17:23:24 +00:00
parent 086df4ef71
commit b0ec9edf53
4 changed files with 25 additions and 6 deletions

View file

@ -709,7 +709,7 @@ sub setDataByQuery {
($self->{_totalRows}) = $dbh->quickArray("select found_rows()");
$self->{_columnNames} = [ $sth->getColumnNames ];
my @row;
my @row = ();
while (my $data = $sth->hashRef) {
push(@row,$data);
}