SQL macro format now defaults to ^0;
This commit is contained in:
parent
a14c600998
commit
2c1cbf9437
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue