X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fsepa.pl;h=ce334b28a1d697b67338196f95a1dbfa47b69bda;hb=469ca9fc3cac624073270fc3217766dbb7aba253;hp=f559c604b56f3003d1c8c52383030787c7450446;hpb=cb9719b1e759da01dbdd5a23ed7cdafd577ee843;p=kivitendo-erp.git diff --git a/bin/mozilla/sepa.pl b/bin/mozilla/sepa.pl index f559c604b..ce334b28a 100755 --- a/bin/mozilla/sepa.pl +++ b/bin/mozilla/sepa.pl @@ -176,7 +176,7 @@ sub bank_transfer_list { my $form = $main::form; my $locale = $main::locale; - my $cgi = $main::cgi; + my $cgi = $::request->{cgi}; my $vc = $form->{vc} eq 'customer' ? 'customer' : 'vendor'; $form->{title} = $vc eq 'customer' ? $::locale->text('List of bank collections') : $locale->text('List of bank transfers'); @@ -443,7 +443,7 @@ sub bank_transfer_download_sepa_xml { my $form = $main::form; my $myconfig = \%main::myconfig; my $locale = $main::locale; - my $cgi = $main::cgi; + my $cgi = $::request->{cgi}; my $vc = $form->{vc} eq 'customer' ? 'customer' : 'vendor'; if (!$myconfig->{company}) {