Index: trunk/phase3/includes/api/ApiQueryImageInfo.php |
— | — | @@ -77,9 +77,9 @@ |
78 | 78 | $vals['anon'] = ''; |
79 | 79 | } |
80 | 80 | if ($fld_size) { |
81 | | - $vals['size'] = $line->img_size; |
82 | | - $vals['width'] = $line->img_width; |
83 | | - $vals['height'] = $line->img_height; |
| 81 | + $vals['size'] = intval($line->img_size); |
| 82 | + $vals['width'] = intval($line->img_width); |
| 83 | + $vals['height'] = intval($line->img_height); |
84 | 84 | } |
85 | 85 | if ($fld_url) |
86 | 86 | $vals['url'] = $isCur ? $img->getURL() : $img->getArchiveUrl($line->oi_archive_name); |