Fix logic error from bad casing
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 18 Feb 2009 05:29:11 +0000 (05:29 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 18 Feb 2009 05:29:11 +0000 (05:29 +0000)
includes/api/ApiPageSet.php

index 49277d9..2bb387c 100644 (file)
@@ -501,7 +501,7 @@ class ApiPageSet extends ApiQueryBase {
                if(!count($revids))
                        return;
 
-               $revIDs = array_map('intval', $revIDs); // paranoia
+               $revids = array_map('intval', $revids); // paranoia
                $db = $this->getDB();
                $pageids = array();
                $remaining = array_flip($revids);