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:
b8caeb6
)
Add check for RCWatchCategoryMembership before trying to access form option
author
aude
<aude.wiki@gmail.com>
Tue, 20 Oct 2015 23:07:58 +0000
(
01:07
+0200)
committer
aude
<aude.wiki@gmail.com>
Tue, 20 Oct 2015 23:07:58 +0000
(
01:07
+0200)
Change-Id: Ie38e0fd703eb688267e5d19c145256dd6c8ada94
includes/specialpage/ChangesListSpecialPage.php
patch
|
blob
|
history
diff --git
a/includes/specialpage/ChangesListSpecialPage.php
b/includes/specialpage/ChangesListSpecialPage.php
index
c1c9a13
..
74842aa
100644
(file)
--- a/
includes/specialpage/ChangesListSpecialPage.php
+++ b/
includes/specialpage/ChangesListSpecialPage.php
@@
-254,7
+254,9
@@
abstract class ChangesListSpecialPage extends SpecialPage {
$conds[] = 'rc_user_text != ' . $dbr->addQuotes( $user->getName() );
}
}
- if ( $opts['hidecategorization'] === true ) {
+ if ( $this->getConfig()->get( 'RCWatchCategoryMembership' )
+ && $opts['hidecategorization'] === true
+ ) {
$conds[] = 'rc_type != ' . $dbr->addQuotes( RC_CATEGORIZE );
}