numerify the taxRate for making JSON

This commit is contained in:
Colin Kuskie 2008-03-24 16:23:10 +00:00
parent 3f5d947282
commit 4b4f389586

View file

@ -370,6 +370,7 @@ sub www_getTaxesAsJson {
my @records = ();
my $sth = $db->read($sql, \@placeholders);
while (my $record = $sth->hashRef) {
$record->{taxRate} += 0; ##Convert to numeric
push(@records,$record);
}
$results{'recordsReturned'} = $sth->rows()+0;