fix per r57729#c4267
authorMichael Dale <dale@users.mediawiki.org>
Fri, 16 Oct 2009 04:38:40 +0000 (04:38 +0000)
committerMichael Dale <dale@users.mediawiki.org>
Fri, 16 Oct 2009 04:38:40 +0000 (04:38 +0000)
includes/upload/UploadBase.php

index 1164f66..3f8b1d2 100644 (file)
@@ -191,7 +191,6 @@ abstract class UploadBase {
                                $verification = array( $verification );
                        return array( 'status' => self::VERIFICATION_ERROR,
                                        'details' => $verification );
-
                }
 
                $error = '';
@@ -818,7 +817,7 @@ abstract class UploadBase {
                #      that does not seem to be worth the pain.
                #      Ask me (Duesentrieb) about it if it's ever needed.
                $output = array();
-               $output = wfShellExec($command, $exitCode);
+               $output = wfShellExec("$command 2>&1", $exitCode);
 
 
                # map exit code to AV_xxx constants.