r50623 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50622‎ | r50623 | r50624 >
Date:10:42, 15 May 2009
Author:catrope
Status:ok
Tags:
Comment:
Fix up r50600, which had no effect
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryUserContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryUserContributions.php
@@ -289,7 +289,7 @@
290290 if ($this->fld_patrolled && $row->rc_patrolled)
291291 $vals['patrolled'] = '';
292292
293 - if ( $this->fld_size && !is_null( $this->fld_size ) )
 293+ if ($this->fld_size && !is_null($row->rev_len))
294294 $vals['size'] = intval($row->rev_len);
295295
296296 return $vals;
@@ -387,4 +387,4 @@
388388 public function getVersion() {
389389 return __CLASS__ . ': $Id$';
390390 }
391 -}
\ No newline at end of file
 391+}

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50600Followup to r50423: Check if the row is null, since older revs don't necessar...demon20:29, 14 May 2009

Status & tagging log