From c08e4068afb7abc3ce88fc90a1ea3b5dd352d1db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 9 Mar 2020 10:35:21 +0100 Subject: [PATCH] ZUGFeRD: Konsolen-Debug auskommentiert Wirft im Webserver 'bad header' Fehlermeldungen --- SL/ZUGFeRD.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/ZUGFeRD.pm b/SL/ZUGFeRD.pm index d4d263565..780122c43 100644 --- a/SL/ZUGFeRD.pm +++ b/SL/ZUGFeRD.pm @@ -45,10 +45,10 @@ sub _extract_zugferd_invoice_xml { my $obj_node = $doc->dereference($any_num); my $content = $doc->decodeOne($obj_node->{value}, 0) // ''; - print "1\n"; + #print "1\n"; next if $content !~ m{load_xml(string => $content) }; return $content if $dom && ($dom->documentElement->nodeName eq 'rsm:CrossIndustryInvoice'); -- 2.20.1