summaryrefslogtreecommitdiff
path: root/extensions/PdfHandler/PdfHandler_body.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/PdfHandler/PdfHandler_body.php')
-rw-r--r--extensions/PdfHandler/PdfHandler_body.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/PdfHandler/PdfHandler_body.php b/extensions/PdfHandler/PdfHandler_body.php
index 495f3bb8..d9ed4884 100644
--- a/extensions/PdfHandler/PdfHandler_body.php
+++ b/extensions/PdfHandler/PdfHandler_body.php
@@ -188,12 +188,12 @@ class PdfHandler extends ImageHandler {
"-",
$dstPath
);
- $cmd .= ")";
+ $cmd .= ") 2>&1";
wfProfileIn( 'PdfHandler' );
wfDebug( __METHOD__ . ": $cmd\n" );
$retval = '';
- $err = wfShellExecWithStderr( $cmd, $retval );
+ $err = wfShellExec( $cmd, $retval );
wfProfileOut( 'PdfHandler' );
$removed = $this->removeBadFile( $dstPath, $retval );