From: Rob Church Date: Tue, 18 Apr 2006 02:46:31 +0000 (+0000) Subject: Fix link weirdness \o/ X-Git-Tag: 1.31.0-rc.0~57443 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=7d8aad5ec3848688da94548df7c1ba114cd7a3a7;p=lhc%2Fweb%2Fwiklou.git Fix link weirdness \o/ --- diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index fdc42e0e3f..60a4a72163 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -140,8 +140,8 @@ function wfSpecialWatchlist( $par ) { $nondefaults = array(); wfAppendToArrayIfNotDefault( 'days', $days, $defaults, $nondefaults); - wfAppendToArrayIfNotDefault( 'hideOwn', $hideOwn, $defaults, $nondefaults); - wfAppendToArrayIfNotDefault( 'hideBots', $hideBots, $defaults, $nondefaults); + wfAppendToArrayIfNotDefault( 'hideOwn', (int)$hideOwn, $defaults, $nondefaults); + wfAppendToArrayIfNotDefault( 'hideBots', (int)$hideBots, $defaults, $nondefaults); wfAppendToArrayIfNotDefault( 'namespace', $nameSpace, $defaults, $nondefaults ); if ( $days <= 0 ) {