X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3f93023866418c0ffa28622e00af120975e3c105..4cb3ecfd6f144901ed89dae7acafdf1c124c53f4:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index b63421750..ae51efd78 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1203,7 +1203,6 @@ sub parse_template { local (*IN, *OUT); my $userspath = $::lx_office_conf{paths}->{userspath}; - $self->{"cwd"} = getcwd(); $self->{"tmpdir"} = $self->{cwd} . "/${userspath}"; @@ -1295,6 +1294,7 @@ sub parse_template { $result = $template->parse(*STDOUT); } + Common::copy_file_to_webdav_folder($self) if ($self->{webdav}); if (!$result) { $self->cleanup(); $self->error("$self->{IN} : " . $template->get_error());