]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Form.pm
Merge branch 'master' of git@lx-office.linet-services.de:lx-office-erp
[mfinanz.git] / SL / Form.pm
index b3a3e23dff21756173b119f7ab689f28362d702c..8a4ecbf8d94e43c5c38f23d09eece4ffe92bcf89 100644 (file)
@@ -1204,7 +1204,6 @@ sub parse_template {
   local (*IN, *OUT);
 
   my $userspath = $::lx_office_conf{paths}->{userspath};
-
   $self->{"cwd"} = getcwd();
   $self->{"tmpdir"} = $self->{cwd} . "/${userspath}";
 
@@ -1296,6 +1295,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());