| Index: trunk/phase3/includes/HTMLForm.php |
| — | — | @@ -509,7 +509,11 @@ |
| 510 | 510 | function getErrors( $errors ) { |
| 511 | 511 | if ( $errors instanceof Status ) { |
| 512 | 512 | global $wgOut; |
| 513 | | - $errorstr = $wgOut->parse( $errors->getWikiText() ); |
| | 513 | + if ( $errors->isOK() ) { |
| | 514 | + $errorstr = ''; |
| | 515 | + } else { |
| | 516 | + $errorstr = $wgOut->parse( $errors->getWikiText() ); |
| | 517 | + } |
| 514 | 518 | } elseif ( is_array( $errors ) ) { |
| 515 | 519 | $errorstr = $this->formatErrors( $errors ); |
| 516 | 520 | } else { |