From 23040d88f328ba3c4c8b9767ac62f308196a86fa Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 30 Jun 2007 09:31:51 +0000 Subject: [PATCH] Removing a ')' that broke the entire API --- includes/api/ApiQueryRevisions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index a6634d7a1b..e52dbe37f1 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -81,7 +81,7 @@ class ApiQueryRevisions extends ApiQueryBase { // lastid automatically sets ids and timestamp // because it needs them internally $this->fld_lastid = isset ($prop['lastid']); - $this->fld_ids = isset ($prop['ids']) || $this->fld_lastid); + $this->fld_ids = isset ($prop['ids']) || $this->fld_lastid; // $this->addFieldsIf('rev_text_id', $this->fld_ids); // should this be exposed? $this->fld_flags = $this->addFieldsIf('rev_minor_edit', isset ($prop['flags'])); $this->fld_timestamp = $this->addFieldsIf('rev_timestamp', isset ($prop['timestamp']) || $this->fld_lastid); -- 2.20.1