X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/43ad317e5e9677605c8475356b08eabe171661a3..99d8aaf4fd6df466ee540770cc7e80ae724dd4ad:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index a85902823..1368df738 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1034,7 +1034,7 @@ sub parse_template { %{ $self->{TEMPLATE_DRIVER_OPTIONS} || {} }); # Copy the notes from the invoice/sales order etc. back to the variable "notes" because that is where most templates expect it to be. - $self->{"notes"} = $self->{ $self->{"formname"} . "notes" }; + $self->{"notes"} = $self->{ $self->{"formname"} . "notes" } if exists $self->{ $self->{"formname"} . "notes" }; if (!$self->{employee_id}) { $self->{"employee_${_}"} = $myconfig->{$_} for qw(email tel fax name signature);