From f8b95820ed82ea8777defa6f5dbc28576264e601 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 13 Jun 2011 21:35:23 +0000 Subject: [PATCH] Followup r89562, use 'feedformat' not 'feed' --- includes/api/ApiFeedWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index adae8b2e50..5e83b3014e 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -65,7 +65,7 @@ class ApiFeedWatchlist extends ApiBase { $this->dieUsage( 'Syndication feeds are not available', 'feed-unavailable' ); } - if( !isset( $wgFeedClasses[ $params['feed'] ] ) ) { + if( !isset( $wgFeedClasses[ $params['feedformat'] ] ) ) { $this->dieUsage( 'Invalid subscription feed type', 'feed-invalid' ); } -- 2.20.1