From d12e05c42bfdab05fbf820d41030cde63bc98167 Mon Sep 17 00:00:00 2001 From: Jure Kajzer Date: Thu, 10 Nov 2011 20:50:01 +0000 Subject: [PATCH] * sry about that :S ... 10x Aaron --- includes/api/ApiQueryBlocks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/api/ApiQueryBlocks.php b/includes/api/ApiQueryBlocks.php index d5e2e6475b..a97d515b28 100644 --- a/includes/api/ApiQueryBlocks.php +++ b/includes/api/ApiQueryBlocks.php @@ -130,8 +130,8 @@ class ApiQueryBlocks extends ApiQueryBase { $this->addWhereIf( 'ipb_user != 0', isset( $show['account'] ) ); $this->addWhereIf( 'ipb_user != 0 OR ipb_range_end > ipb_range_start', isset( $show['!ip'] ) ); $this->addWhereIf( 'ipb_user = 0 AND ipb_range_end = ipb_range_start', isset( $show['ip'] ) ); - $this->addWhereIf( 'ipb_expiry = '.$db->addQuotes($db->getInfinity(), isset( $show['!temp'] ) ); - $this->addWhereIf( 'ipb_expiry != '.$db->addQuotes($db->getInfinity(), isset( $show['temp'] ) ); + $this->addWhereIf( 'ipb_expiry = '.$db->addQuotes($db->getInfinity()), isset( $show['!temp'] ) ); + $this->addWhereIf( 'ipb_expiry != '.$db->addQuotes($db->getInfinity()), isset( $show['temp'] ) ); $this->addWhereIf( "ipb_range_end = ipb_range_start", isset( $show['!range'] ) ); $this->addWhereIf( "ipb_range_end > ipb_range_start", isset( $show['range'] ) ); } -- 2.20.1