From: Happy-melon Date: Sun, 13 Mar 2011 15:44:49 +0000 (+0000) Subject: Follow-up r83827: a Block object will never be internally of TYPE_ID. X-Git-Tag: 1.31.0-rc.0~31464 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=995d7bb5ea7eed176e67a167f96e6df1965826ec;p=lhc%2Fweb%2Fwiklou.git Follow-up r83827: a Block object will never be internally of TYPE_ID. --- 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; }