Just use != here
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 10 Jan 2009 22:07:12 +0000 (22:07 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 10 Jan 2009 22:07:12 +0000 (22:07 +0000)
includes/RecentChange.php

index 885ff45..767e3da 100644 (file)
@@ -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,