Index: trunk/phase3/includes/Block.php |
— | — | @@ -644,7 +644,7 @@ |
645 | 645 | $autoblock->prevents( 'editownusertalk', $this->prevents( 'editownusertalk' ) ); |
646 | 646 | |
647 | 647 | $dbr = wfGetDB( DB_SLAVE ); |
648 | | - if ( $timestamp == 'infinity' ) { |
| 648 | + if ( $this->mExpiry == 'infinity' ) { |
649 | 649 | # Original block was indefinite, start an autoblock now |
650 | 650 | $autoblock->mExpiry = Block::getAutoblockExpiry( $timestamp ); |
651 | 651 | } else { |