Revision fe66a56c
Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt
SL/DN.pm | ||
---|---|---|
335 | 335 |
|
336 | 336 |
# Save PDFs in filemanagement and webdav after transation succeeded, |
337 | 337 |
# because otherwise files in the storage may exists if the transaction |
338 |
# failed. Ignore all errros.
|
|
339 |
# Todo: Maybe catch errros and display them as warnings or non fatal errors in the status.
|
|
338 |
# failed. Ignore all errors.
|
|
339 |
# Todo: Maybe catch errors and display them as warnings or non fatal errors in the status.
|
|
340 | 340 |
if (!$error && $form->{DUNNING_PDFS_STORAGE} && scalar @{ $form->{DUNNING_PDFS_STORAGE} }) { |
341 | 341 |
_store_pdf_to_webdav_and_filemanagement($_->{dunning_id}, $_->{path}, $_->{name}) for @{ $form->{DUNNING_PDFS_STORAGE} }; |
342 | 342 |
} |
343 | 343 |
|
344 |
$error = 'unknown errror' if !$error && !$rc;
|
|
345 |
$rc->{error} = $error if $error;
|
|
344 |
$error = 'unknown error' if !$error && !$rc; |
|
345 |
$rc->{error} = $error if $error; |
|
346 | 346 |
|
347 | 347 |
$::lxdebug->leave_sub; |
348 | 348 |
|
Auch abrufbar als: Unified diff
Typos und spellcheck für error(s)