From: Brion Vibber Date: Wed, 13 Sep 2006 15:35:30 +0000 (+0000) Subject: * (bug 7305) Proper compare for bot check on RC notify, should fix overrides X-Git-Tag: 1.31.0-rc.0~55786 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=f99565fbabc02cf0930e975d6db91bf2de796009;p=lhc%2Fweb%2Fwiklou.git * (bug 7305) Proper compare for bot check on RC notify, should fix overrides that force edits by non-bot users to bot mode --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 6ed8a09dae..ba950a4eb2 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 3f91074f36..fff45a732a 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -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' ); }