missed an object -> obj conversion in prepare_body
This commit is contained in:
parent
dcba30a6aa
commit
624f4641e2
@ -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) {
|
||||
|
Reference in New Issue
Block a user