X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1d540b8d67d025876165c06509e6c3c6c7d0564e..6bdcd83826c0cf1d86450bc205c00864d8a0c403:/SL/Controller/Order.pm diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 144fc87f8..5a42a195c 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -1724,7 +1724,7 @@ sub generate_pdf { }, ); 1; - } || push @errors, ref($EVAL_ERROR) eq 'SL::X::FormError' ? $EVAL_ERROR->getMessage : $EVAL_ERROR; + } || push @errors, ref($EVAL_ERROR) eq 'SL::X::FormError' ? $EVAL_ERROR->error : $EVAL_ERROR; }); return @errors;