From: Aaron Schulz Date: Sun, 18 Jan 2009 19:23:20 +0000 (+0000) Subject: Fix typo in r45855 X-Git-Tag: 1.31.0-rc.0~43361 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=2bb2c01430f40809a40db889207c3072a2686dfd;p=lhc%2Fweb%2Fwiklou.git Fix typo in r45855 --- diff --git a/includes/User.php b/includes/User.php index f87323f445..346021543e 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2094,7 +2094,7 @@ class User { if( $action === 'patrol' || $action === 'autopatrol' ) { global $wgUseRCPatrol, $wgUseNPPatrol; if( !$wgUseRCPatrol && !$wgUseNPPatrol ) - return true; + return false; } # Use strict parameter to avoid matching numeric 0 accidentally inserted # by misconfiguration: 0 == 'foo'