dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b85c7b
)
Followup r85756
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 13 Oct 2011 16:40:22 +0000
(16:40 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 13 Oct 2011 16:40:22 +0000
(16:40 +0000)
Update code to use boolean, as it's not going to be null
includes/api/ApiFeedWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFeedWatchlist.php
b/includes/api/ApiFeedWatchlist.php
index
44ddd10
..
2346b32
100644
(file)
--- 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'] = '';
}