From f788268ce2a81a24c8a0e0b132aa1b643a34d8f4 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Fri, 27 Jun 2008 09:22:12 +0000 Subject: [PATCH] Don't be lazy: Initialise autoblock objects with both the blocker ID and their name --- includes/Block.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Block.php b/includes/Block.php index b400912b12..b208fa8aca 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -532,6 +532,7 @@ class Block $ipblock->mAddress = $autoblockip; $ipblock->mUser = 0; $ipblock->mBy = $this->mBy; + $ipblock->mByName = $this->mByName; $ipblock->mReason = wfMsgForContent( 'autoblocker', $this->mAddress, $this->mReason ); $ipblock->mTimestamp = wfTimestampNow(); $ipblock->mAuto = 1; -- 2.20.1