From f6c8f40f96da9a0028c01708ef03cbaa39e69e87 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 16 Nov 2007 22:50:59 +0000 Subject: [PATCH] Fix regression from r26954 -- caused non-empty data sets to *fail* to render, in addition to making empty data sets render. :) --- includes/api/ApiQueryBacklinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index 1f58d9aa70..bdd72acb6b 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -179,7 +179,7 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { } $db->freeResult($res); - if (is_null($resultPageSet) && empty($data)) { + if (is_null($resultPageSet)) { $result = $this->getResult(); $result->setIndexedTagName($data, $this->bl_code); $result->addValue('query', $this->getModuleName(), $data); -- 2.20.1