Commit ef07e9f1 authored by Carsten  Rose's avatar Carsten Rose

Download / PDF merge: skip leading errors, interpret only 'Could not merge encrypted files'

parent d504da63
Pipeline #2820 passed with stages
in 2 minutes and 47 seconds
......@@ -188,7 +188,7 @@ class Download {
// Possible output: "Unimplemented Feature: Could not merge encrypted files ('ct.18.06.092-097.pdf')"
$line = implode(',', $rcOutput);
if (false !== strstr($line, "Unimplemented Feature: Could not merge encrypted files (")) {
if (false !== ($line = strstr($line, "Unimplemented Feature: Could not merge encrypted files ("))) {
$arr = explode("'", $line, 3);
if (!empty($arr[1]) && file_exists($arr[1])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment