r71098 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71097‎ | r71098 | r71099 >
Date:07:03, 15 August 2010
Author:maxsem
Status:ok
Tags:
Comment:
Fixed E_STRICT from r71059
Modified paths:
  • /trunk/phase3/includes/Pager.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Pager.php
@@ -195,7 +195,8 @@
196196 $numRows = $res->numRows();
197197 if ( $numRows ) {
198198 # Remove any table prefix from index field
199 - $indexColumn = end( explode( '.', $this->mIndexField ) );
 199+ $parts = explode( '.', $this->mIndexField );
 200+ $indexColumn = end( $parts );
200201
201202 $row = $res->fetchRow();
202203 $firstIndex = $row[$indexColumn];

Follow-up revisions

RevisionCommit summaryAuthorDate
r71753fixing paging for campaign interface - requires deploy of r71059 and r71098kaldari22:01, 26 August 2010
r71773Picking up changes from r71098tomasz23:53, 26 August 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r71059fix to handle case of mIndexField including a table prefixkaldari01:57, 14 August 2010

Status & tagging log