* (bug 7305) Proper compare for bot check on RC notify, should fix overrides
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 13 Sep 2006 15:35:30 +0000 (15:35 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 13 Sep 2006 15:35:30 +0000 (15:35 +0000)
  that force edits by non-bot users to bot mode

RELEASE-NOTES
includes/RecentChange.php

index 6ed8a09..ba950a4 100644 (file)
@@ -199,6 +199,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 7299) Normalize username filter on Special:Newpages
 * (bug 7306) RTL text in an LTR wiki breaks appearance of Special:Recentchanges
 * (bug 7312) Don't emit SET NAMES utf8 if connection failed
+* (bug 7305) Proper compare for bot check on RC notify, should fix overrides
+  that force edits by non-bot users to bot mode
 
 
 == Languages updated ==
index 3f91074..fff45a7 100644 (file)
@@ -210,7 +210,7 @@ class RecentChange
                $oldId, $lastTimestamp, $bot = "default", $ip = '', $oldSize = 0, $newSize = 0,
                $newId = 0)
        {
-               if ( $bot == 'default' ) {
+               if ( $bot === 'default' ) {
                        $bot = $user->isAllowed( 'bot' );
                }