From a161dfeb08fdf16cee58499cfa5283da96032e61 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Tue, 18 Apr 2006 02:48:58 +0000 Subject: [PATCH] One more small fix, causes the URL to behave as the whole "if not default" thing intended. --- includes/SpecialWatchlist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index 60a4a72163..28b39b601c 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -39,8 +39,8 @@ function wfSpecialWatchlist( $par ) { $defaults = array( /* float */ 'days' => floatval( $wgUser->getOption( 'watchlistdays' ) ), /* 3.0 or 0.5, watch further below */ - /* bool */ 'hideOwn' => $wgUser->getBoolOption( 'watchlisthideown' ), - /* bool */ 'hideBots' => $wgUser->getBoolOption( 'watchlisthidebots' ), + /* bool */ 'hideOwn' => (int)$wgUser->getBoolOption( 'watchlisthideown' ), + /* bool */ 'hideBots' => (int)$wgUser->getBoolOption( 'watchlisthidebots' ), 'namespace' => 'all', ); -- 2.20.1