From: Andrew Garrett Date: Fri, 27 Jun 2008 09:22:12 +0000 (+0000) Subject: Don't be lazy: Initialise autoblock objects with both the blocker ID and their name X-Git-Tag: 1.31.0-rc.0~46870 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=f788268ce2a81a24c8a0e0b132aa1b643a34d8f4;p=lhc%2Fweb%2Fwiklou.git Don't be lazy: Initialise autoblock objects with both the blocker ID and their name --- 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;