Index: trunk/extensions/RSS/RSSHooks.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | if ( !$status->isGood() ) |
40 | 40 | return wfMsg( 'rss-error', htmlspecialchars( $input), $status->getWikiText() ); |
41 | 41 | |
42 | | - if ( !$status->isGood() || !is_object( $rss->rss ) || !is_array( $rss->rss->items ) ) |
| 42 | + if ( !is_object( $rss->rss ) || !is_array( $rss->rss->items ) ) |
43 | 43 | return wfMsg( 'rss-empty', htmlspecialchars( $input ) ); |
44 | 44 | |
45 | 45 | return $rss->renderFeed( $parser, $frame ); |