X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f83b4aff417ab78fc4bc242298fe25924f1ee072..4826a1d124c8fede00d1c0ac9625a8e418d7978f:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index cc8027b9a..1a36e2c9a 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -417,6 +417,7 @@ sub customer_details { # remove id and taxincluded before copy back delete @$ref{qw(id taxincluded)}; + @wanted_vars = grep({ $_ } @wanted_vars); if (scalar(@wanted_vars) > 0) { my %h_wanted_vars; map({ $h_wanted_vars{$_} = 1; } @wanted_vars);