From ff9f01a469395663599865db3cf6540f5932a14a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 13 May 2008 21:03:57 +0000 Subject: [PATCH] E_STRICT --- includes/api/ApiPageSet.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/api/ApiPageSet.php b/includes/api/ApiPageSet.php index 3a1f4fafa0..525d718a69 100644 --- a/includes/api/ApiPageSet.php +++ b/includes/api/ApiPageSet.php @@ -381,7 +381,8 @@ class ApiPageSet extends ApiQueryBase { $res = $db->select('page', $this->getPageTableFields(), $set, __METHOD__); $this->profileDBOut(); - $this->initFromQueryResult($db, $res, array_flip($pageids), false); // process PageIDs + $remaining = array_flip($pageids); + $this->initFromQueryResult($db, $res, $remaining, false); // process PageIDs // Resolve any found redirects $this->resolvePendingRedirects(); -- 2.20.1