Index: trunk/phase3/includes/api/ApiFeedWatchlist.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | $this->dieUsage( 'Syndication feeds are not available', 'feed-unavailable' ); |
67 | 67 | } |
68 | 68 | |
69 | | - if( !isset( $wgFeedClasses[ $params['feed'] ] ) ) { |
| 69 | + if( !isset( $wgFeedClasses[ $params['feedformat'] ] ) ) { |
70 | 70 | $this->dieUsage( 'Invalid subscription feed type', 'feed-invalid' ); |
71 | 71 | } |
72 | 72 | |