missed an object -> obj conversion in prepare_body

This commit is contained in:
redmatrix 2016-06-03 15:09:58 -07:00
parent dcba30a6aa
commit 624f4641e2

View file

@ -1473,7 +1473,7 @@ function prepare_body(&$item,$attach = false) {
if($is_photo) {
$object = json_decode($item['object'],true);
$object = json_decode($item['obj'],true);
// if original photo width is <= 640px prepend it to item body
if($object['link'][0]['width'] && $object['link'][0]['width'] <= 640) {