Index: trunk/phase3/includes/api/ApiQueryAllUsers.php |
— | — | @@ -158,7 +158,8 @@ |
159 | 159 | if ($fld_editcount) |
160 | 160 | $lastUserData['editcount'] = intval($row->user_editcount); |
161 | 161 | 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) : ''; |
163 | 164 | |
164 | 165 | } |
165 | 166 | |