Index: trunk/phase3/includes/Block.php |
— | — | @@ -625,7 +625,7 @@ |
626 | 626 | $autoblock->prevents( 'editownusertalk', $this->prevents( 'editownusertalk' ) ); |
627 | 627 | |
628 | 628 | $dbr = wfGetDB( DB_SLAVE ); |
629 | | - if ( $this->mTimestamp == $dbr->getInfinity() ) { |
| 629 | + if ( $this->mExpiry == $dbr->getInfinity() ) { |
630 | 630 | # Original block was indefinite, start an autoblock now |
631 | 631 | $autoblock->mExpiry = Block::getAutoblockExpiry( $timestamp ); |
632 | 632 | } else { |