From: Max Semenik Date: Fri, 12 Mar 2010 19:18:14 +0000 (+0000) Subject: Fix bug that prevented non-hidden users from appearing on Special:BlockList on SQLite X-Git-Tag: 1.31.0-rc.0~37480 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=5d543aeae80c2a70fff629816687f1a5be3152bd;p=lhc%2Fweb%2Fwiklou.git Fix bug that prevented non-hidden users from appearing on Special:BlockList on SQLite --- diff --git a/includes/Block.php b/includes/Block.php index b8d97a573a..2367525200 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -405,7 +405,7 @@ class Block { 'ipb_expiry' => self::encodeExpiry( $this->mExpiry, $dbw ), 'ipb_range_start' => $this->mRangeStart, 'ipb_range_end' => $this->mRangeEnd, - 'ipb_deleted' => $this->mHideName, + 'ipb_deleted' => intval( $this->mHideName ), // typecast required for SQLite 'ipb_block_email' => $this->mBlockEmail, 'ipb_allow_usertalk' => $this->mAllowUsertalk ),