X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/23c5a95043040ef7c0eb84b160b701099a550a28..a01fc4760bb669b7b05d2e45c6a321d0913cfd59:/SL/AM.pm diff --git a/SL/AM.pm b/SL/AM.pm index af47027d6..19407f8ce 100644 --- a/SL/AM.pm +++ b/SL/AM.pm @@ -107,7 +107,7 @@ sub get_account { startdate => $taxkey->startdate->to_kivitendo, taxdescription => $taxkey->tax->taxdescription, rate => $taxkey->tax->rate, - accno => $taxkey->tax->chart->accno, + accno => defined $taxkey->tax->chart_id ? $taxkey->tax->chart->accno : undef, }; }