r61762 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61761‎ | r61762 | r61763 >
Date:23:08, 31 January 2010
Author:reedy
Status:ok
Tags:
Comment:
Fix r61760
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryLogEvents.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryLogEvents.php
@@ -44,15 +44,15 @@
4545 $db = $this->getDB();
4646
4747 $prop = $params['prop'];
48 - $this->fld_ids = isset( $prop['ids' );
49 - $this->fld_title = isset( $prop['title' );
50 - $this->fld_type = isset( $prop['type' );
51 - $this->fld_user = isset( $prop['user' );
52 - $this->fld_timestamp = isset( $prop['timestamp' );
53 - $this->fld_comment = isset( $prop['comment' );
54 - $this->fld_parsedcomment = isset ( $prop['parsedcomment'] );
55 - $this->fld_details = isset( $prop['details' );
56 - $this->fld_tags = isset( $prop['tags' );
 48+ $this->fld_ids = isset( $prop['ids'] );
 49+ $this->fld_title = isset( $prop['title'] );
 50+ $this->fld_type = isset( $prop['type'] );
 51+ $this->fld_user = isset( $prop['user'] );
 52+ $this->fld_timestamp = isset( $prop['timestamp'] );
 53+ $this->fld_comment = isset( $prop['comment'] );
 54+ $this->fld_parsedcomment = isset ( $prop['parsedcomment']] );
 55+ $this->fld_details = isset( $prop['details'] );
 56+ $this->fld_tags = isset( $prop['tags'] );
5757
5858 list( $tbl_logging, $tbl_page, $tbl_user ) = $db->tableNamesN( 'logging', 'page', 'user' );
5959

Follow-up revisions

RevisionCommit summaryAuthorDate
r61763Fix r61760/r61762reedy23:09, 31 January 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r61760in_array to isset on ApiQueryLogEvents as per (most?) rest of the APIreedy22:28, 31 January 2010

Status & tagging log