From: Sam Reed Date: Thu, 13 Oct 2011 16:40:22 +0000 (+0000) Subject: Followup r85756 X-Git-Tag: 1.31.0-rc.0~27120 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=09ae0b67ca32877a6cb1e6b36e4040411e21cca0;p=lhc%2Fweb%2Fwiklou.git Followup r85756 Update code to use boolean, as it's not going to be null --- 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'] = ''; }