From: Aaron Schulz Date: Sat, 10 Jan 2009 22:07:12 +0000 (+0000) Subject: Just use != here X-Git-Tag: 1.31.0-rc.0~43461 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=3dbbdca71d43f05bc47e69e3d3e8e7705f5831ce;p=lhc%2Fweb%2Fwiklou.git Just use != here --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 885ff45532..767e3daf42 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -471,7 +471,7 @@ class RecentChange { global $wgLogRestrictions; # Don't add private logs to RC! - if( isset($wgLogRestrictions[$type]) && !$wgLogRestrictions[$type] == '*' ) { + if( isset($wgLogRestrictions[$type]) && $wgLogRestrictions[$type] != '*' ) { return false; } $rc = self::newLogEntry( $timestamp, $title, $user, $actionComment, $ip, $type, $action,