From 89b9bc984db5dbec32de43b24f4f05fc1e84be6c Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Sun, 26 Jun 2011 23:10:57 +0000 Subject: [PATCH] Follow-up r84588 CR --- includes/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Block.php b/includes/Block.php index 7911163c5d..0b52d85ea8 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -625,7 +625,7 @@ class Block { $autoblock->prevents( 'editownusertalk', $this->prevents( 'editownusertalk' ) ); $dbr = wfGetDB( DB_SLAVE ); - if ( $this->mTimestamp == $dbr->getInfinity() ) { + if ( $this->mExpiry == $dbr->getInfinity() ) { # Original block was indefinite, start an autoblock now $autoblock->mExpiry = Block::getAutoblockExpiry( $timestamp ); } else { -- 2.20.1