X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8c31500d9372e4e1585b895ce4d43d67a5e517e5..576b67fd3937f1b00a64a550c5514f1646a89d43:/SL/Form.pm?ds=inline diff --git a/SL/Form.pm b/SL/Form.pm index 90c8c9b99..56dc795e1 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -3535,7 +3535,7 @@ sub prepare_for_printing { $self->{formname} ||= $self->{type}; $self->{media} ||= 'email'; - die "'media' other than 'email' or 'file' is not supported yet" unless $self->{media} =~ m/^(?:email|file)$/; + die "'media' other than 'email', 'file', 'printer' is not supported yet" unless $self->{media} =~ m/^(?:email|file|printer)$/; # set shipto from billto unless set my $has_shipto = any { $self->{"shipto$_"} } qw(name street zipcode city country contact);