Index: trunk/phase3/includes/api/ApiQueryUserContributions.php |
— | — | @@ -289,7 +289,7 @@ |
290 | 290 | if ($this->fld_patrolled && $row->rc_patrolled) |
291 | 291 | $vals['patrolled'] = ''; |
292 | 292 | |
293 | | - if ( $this->fld_size && !is_null( $this->fld_size ) ) |
| 293 | + if ($this->fld_size && !is_null($row->rev_len)) |
294 | 294 | $vals['size'] = intval($row->rev_len); |
295 | 295 | |
296 | 296 | return $vals; |
— | — | @@ -387,4 +387,4 @@ |
388 | 388 | public function getVersion() { |
389 | 389 | return __CLASS__ . ': $Id$'; |
390 | 390 | } |
391 | | -} |
\ No newline at end of file |
| 391 | +} |