From f99565fbabc02cf0930e975d6db91bf2de796009 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 13 Sep 2006 15:35:30 +0000 Subject: [PATCH] * (bug 7305) Proper compare for bot check on RC notify, should fix overrides that force edits by non-bot users to bot mode --- RELEASE-NOTES | 2 ++ includes/RecentChange.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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' ); } -- 2.20.1