From: Aaron Schulz Date: Tue, 13 May 2008 21:03:57 +0000 (+0000) Subject: E_STRICT X-Git-Tag: 1.31.0-rc.0~47655 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=ff9f01a469395663599865db3cf6540f5932a14a;p=lhc%2Fweb%2Fwiklou.git E_STRICT --- 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();