From: Sven Schöling Date: Mon, 2 Oct 2017 10:07:54 +0000 (+0200) Subject: Request: cgi korrekt lesen wenn form leer ist X-Git-Tag: release-3.5.4~588 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=173d5a54a680df4c270dfe5baf4db43af2080ab3;p=kivitendo-erp.git Request: cgi korrekt lesen wenn form leer ist --- diff --git a/SL/Request.pm b/SL/Request.pm index 00744ac0d..75cac69bb 100644 --- a/SL/Request.pm +++ b/SL/Request.pm @@ -301,7 +301,7 @@ sub read_cgi_input { my $encoding = delete $temp_target->{INPUT_ENCODING} || 'UTF-8'; - _recode_recursively(SL::Iconv->new($encoding, 'UTF-8'), $temp_target => $target) if keys %$target; + _recode_recursively(SL::Iconv->new($encoding, 'UTF-8'), $temp_target => $target) if keys %$temp_target; if ($target->{RESTORE_FORM_FROM_SESSION_ID}) { my %temp_form;