From d726f05aa693408c45d0128b98738cbfce53cb0e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 15 Dec 2006 12:20:44 +0000 Subject: [PATCH] =?utf8?q?Tempor=C3=A4re=20Dateien=20unterhalb=20von=20use?= =?utf8?q?rs/=20anlegen,=20weil=20der=20Webserver=20da=20definitiv=20Schre?= =?utf8?q?ibzugriff=20hat.=20Fix=20f=C3=BCr=20Bugzilla=20#459.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ustva.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/mozilla/ustva.pl b/bin/mozilla/ustva.pl index ca21b9188..bf9aaecb3 100644 --- a/bin/mozilla/ustva.pl +++ b/bin/mozilla/ustva.pl @@ -1061,14 +1061,14 @@ sub generate_ustva { $file .= $form->{elstersteuernummer}; #file suffix $file .= '.xml'; - $form->{tmpfile} = $file; + $form->{tmpfile} = "$userspath/$file"; } if ( $form->{format} eq 'elstertaxbird' ) { $form->{IN} = 'taxbird.txb'; - $form->{tmpfile} = "USTVA-" . $form->{period} + $form->{tmpfile} = "$userspath/USTVA-" . $form->{period} . sprintf("%02d", $form->{year} % 100) . ".txb"; if ($form->{period} =~ /^[4]\d$/ ){ @@ -1137,10 +1137,9 @@ sub generate_ustva { $form->{templates} = $myconfig{templates}; $form->{templates} = "doc" if ( $form->{type} eq 'help' ); - $lxdebug->leave_sub(); - $form->parse_template($myconfig, $userspath); + $lxdebug->leave_sub(); } sub edit { -- 2.20.1