Make pretend feature from last commit actually exist
authorAndrew Garrett <werdna@users.mediawiki.org>
Mon, 13 Nov 2006 06:44:37 +0000 (06:44 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Mon, 13 Nov 2006 06:44:37 +0000 (06:44 +0000)
includes/Block.php

index 8558a61..a6646fc 100644 (file)
@@ -470,6 +470,7 @@ class Block
                $ipblock->mReason = wfMsgForContent( 'autoblocker', $this->mAddress, $this->mReason );
                $ipblock->mTimestamp = wfTimestampNow();
                $ipblock->mAuto = 1;
+               $ipblock->mCreateAccount = $this->mCreateAccount;
 
                # If the user is already blocked with an expiry date, we don't
                # want to pile on top of that!