Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/documentserver_community.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-01-30 19:30:17 +0300
committerRobin Appelman <robin@icewind.nl>2020-01-30 19:30:17 +0300
commit928b4101691a08e260e6febe11523fb92a2c80de (patch)
tree9eddefb32d3ae9f539c6d3216e970f60b86bdce3
parentdca9ed5533b5fbff2038cf254c7b594dadb24312 (diff)
supress errors when x2t failsv0.1.5
-rw-r--r--lib/Document/ConverterBinary.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Document/ConverterBinary.php b/lib/Document/ConverterBinary.php
index 9da33b6..98bf763 100644
--- a/lib/Document/ConverterBinary.php
+++ b/lib/Document/ConverterBinary.php
@@ -50,9 +50,9 @@ class ConverterBinary {
}
$process = proc_open($cmd, $descriptorSpec, $pipes, self::BINARY_DIRECTORY, []);
- fclose($pipes[0]);
- $output = stream_get_contents($pipes[1]);
- $error = stream_get_contents($pipes[2]);
+ @fclose($pipes[0]);
+ $output = @stream_get_contents($pipes[1]);
+ $error = @stream_get_contents($pipes[2]);
$status = proc_close($process);