From 995d7bb5ea7eed176e67a167f96e6df1965826ec Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Sun, 13 Mar 2011 15:44:49 +0000 Subject: [PATCH] Follow-up r83827: a Block object will never be internally of TYPE_ID. --- includes/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Block.php b/includes/Block.php index a58789ba07..d6fd329915 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -1003,7 +1003,7 @@ class Block { list( $target, $type ) = self::parseTarget( $this->mAddress ); # Check whether it's an autoblock - if( $type == self::TYPE_ID && $this->mAuto ){ + if( $this->mAuto ){ $type = self::TYPE_AUTO; } -- 2.20.1