From ed02427598dd53b078731ea96ba61e845748da76 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 24 Jan 2010 00:14:21 +0000 Subject: [PATCH] minor followup to r61447, moving commment --- includes/api/ApiQueryBacklinks.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index ea3a6df492..88f417d486 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -122,8 +122,9 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { if ( $this->params['filterredir'] == 'redirects' ) $this->addWhereFld( 'page_is_redirect', 1 ); - else if ( $this->params['filterredir'] == 'nonredirects' && !$this->redirect ) //bug 22245 - Check for !redirect, as filtering nonredirects, when getting what links to them is contradictory - $this->addWhereFld( 'page_is_redirect', 0 ); + else if ( $this->params['filterredir'] == 'nonredirects' && !$this->redirect ) + //bug 22245 - Check for !redirect, as filtering nonredirects, when getting what links to them is contradictory + $this->addWhereFld( 'page_is_redirect', 0 ); $this->addOption( 'LIMIT', $this->params['limit'] + 1 ); $this->addOption( 'ORDER BY', $this->bl_from ); -- 2.20.1