projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Webdav-Komponente: Das Erstellen des Verzeichnisses ausgelagert. Ferner den Beleg...
[kivitendo-erp.git]
/
SL
/
Form.pm
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
b634217
..
ae51efd
100644
(file)
--- 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};
local (*IN, *OUT);
my $userspath = $::lx_office_conf{paths}->{userspath};
-
$self->{"cwd"} = getcwd();
$self->{"tmpdir"} = $self->{cwd} . "/${userspath}";
$self->{"cwd"} = getcwd();
$self->{"tmpdir"} = $self->{cwd} . "/${userspath}";
@@
-1295,6
+1294,7
@@
sub parse_template {
$result = $template->parse(*STDOUT);
}
$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());
if (!$result) {
$self->cleanup();
$self->error("$self->{IN} : " . $template->get_error());