SQL macro format now defaults to ^0;

This commit is contained in:
JT Smith 2002-11-23 05:08:38 +00:00
parent a14c600998
commit 2c1cbf9437

View file

@ -18,6 +18,7 @@ use WebGUI::SQL;
sub _replacement {
my ($output, @data, $rownum, $temp);
my ($statement, $format) = WebGUI::Macro::getParams(shift);
$format = '^0;' if ($format eq "");
my $result = eval {
my $sth = WebGUI::SQL->new($statement,$session{dbh});
while (@data = $sth->array) {