r110979: removed implode() call and format the message as plaintext, as any HTML...
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 8 Feb 2012 23:25:58 +0000 (23:25 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 8 Feb 2012 23:25:58 +0000 (23:25 +0000)
includes/upload/UploadStash.php

index 14560dd..ad153d2 100644 (file)
@@ -215,7 +215,7 @@ class UploadStash {
                                }
                        }
                        // at this point, $error should contain the single "most important" error, plus any parameters.
-                       throw new UploadStashFileException( "Error storing file in '$path': " . implode( '; ', wfMessage( $error ) ) );
+                       throw new UploadStashFileException( "Error storing file in '$path': " . wfMessage( $error )->text() );
                }
                $stashPath = $storeStatus->value;