From 5d543aeae80c2a70fff629816687f1a5be3152bd Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Fri, 12 Mar 2010 19:18:14 +0000 Subject: [PATCH] Fix bug that prevented non-hidden users from appearing on Special:BlockList on SQLite --- includes/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ), -- 2.20.1