From 5f8149bb37c0a2c3095c286587824576cdc65b57 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 4 Feb 2010 14:55:53 +0000 Subject: [PATCH] Followup r61957, define $index --- includes/api/ApiQueryRevisions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index 4a2af3aa9f..bf2b2ba2d4 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -142,6 +142,9 @@ class ApiQueryRevisions extends ApiQueryBase { $this->fld_user = isset ( $prop['user'] ); $this->token = $params['token']; + // Possible indexes used + $index = array(); + if ( !is_null( $this->token ) || $pageCount > 0 ) { $this->addFields( Revision::selectPageFields() ); } -- 2.20.1