From 09ae0b67ca32877a6cb1e6b36e4040411e21cca0 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 13 Oct 2011 16:40:22 +0000 Subject: [PATCH] Followup r85756 Update code to use boolean, as it's not going to be null --- 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 44ddd10b47..2346b32301 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -100,7 +100,7 @@ class ApiFeedWatchlist extends ApiBase { } // Check for 'allrev' parameter, and if found, show all revisions to each page on wl. - if ( !is_null( $params['allrev'] ) ) { + if ( $params['allrev'] ) { $fauxReqArr['wlallrev'] = ''; } -- 2.20.1