diff options
-rwxr-xr-x | LedgerSMB/Form.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 748c3bd4..835ea471 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -170,7 +170,7 @@ sub error { $self->{msg} = $msg; $self->{format} = "html"; - $self->format_string(msg); + $self->format_string('msg'); delete $self->{pre}; @@ -679,7 +679,7 @@ sub parse_template { my $line; my $lines = 0; - my @d = (description); + my @d = qw(description); push @d, "itemnotes" if $self->{countitemnotes}; foreach my $item (@d) { |