Revision b599ced4
Von Jan Büren vor fast 11 Jahren hinzugefügt
SL/Common.pm | ||
---|---|---|
623 | 623 |
} |
624 | 624 |
|
625 | 625 |
$complete_path = File::Spec->catfile($form->{cwd}, $webdav_folder); |
626 |
|
|
627 |
# maybe the path does not exist (automatic printing), see #2446 |
|
628 |
if (!-d $complete_path) { |
|
629 |
# we need a chdir and restore old dir |
|
630 |
my $current_dir = POSIX::getcwd(); |
|
631 |
chdir("$form->{cwd}"); |
|
632 |
mkdir_with_parents($webdav_folder); |
|
633 |
chdir($current_dir); |
|
634 |
} |
|
635 |
|
|
626 | 636 |
opendir my $dh, $complete_path or die "Could not open $complete_path: $!"; |
627 | 637 |
|
628 | 638 |
my ($newest_name, $newest_time); |
Auch abrufbar als: Unified diff
Bugfix: Fehler beim Generieren und Drucken wiederkehrender Rechnungen mit eingeschaltetem Webav-Feature
fixt #2446