Fix link weirdness \o/
authorRob Church <robchurch@users.mediawiki.org>
Tue, 18 Apr 2006 02:46:31 +0000 (02:46 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Tue, 18 Apr 2006 02:46:31 +0000 (02:46 +0000)
includes/SpecialWatchlist.php

index fdc42e0..60a4a72 100644 (file)
@@ -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 ) {