mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
missed an object -> obj conversion in prepare_body
This commit is contained in:
parent
dcba30a6aa
commit
624f4641e2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue