r59656 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59655‎ | r59656 | r59657 >
Date:12:17, 2 December 2009
Author:catrope
Status:ok
Tags:
Comment:
API: Fix for r58551: WDDX formatter barfs on null
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryAllUsers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryAllUsers.php
@@ -158,7 +158,8 @@
159159 if ($fld_editcount)
160160 $lastUserData['editcount'] = intval($row->user_editcount);
161161 if ($fld_registration)
162 - $lastUserData['registration'] = wfTimestampOrNull(TS_ISO_8601, $row->user_registration);
 162+ $lastUserData['registration'] = $row->user_registration ?
 163+ wfTimestamp(TS_ISO_8601, $row->user_registration) : '';
163164
164165 }
165166

Follow-up revisions

RevisionCommit summaryAuthorDate
r63008wmf-deployment: Merge r58086, r58551 and r59656 (API fixes) from trunkcatrope14:36, 26 February 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r58551* (bug 21083) API: list=allusers no longer returns current timestamp for user...ialex17:18, 4 November 2009

Status & tagging log