From: Rob Church Date: Tue, 18 Apr 2006 02:48:58 +0000 (+0000) Subject: One more small fix, causes the URL to behave as the whole "if not default" thing... X-Git-Tag: 1.31.0-rc.0~57441 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=a161dfeb08fdf16cee58499cfa5283da96032e61;p=lhc%2Fweb%2Fwiklou.git One more small fix, causes the URL to behave as the whole "if not default" thing intended. --- 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', );