missing verb on items linked to photos
This commit is contained in:
parent
9d718ac529
commit
4fa68c7f3d
@ -216,7 +216,7 @@ function photo_upload($channel, $observer, $args) {
|
|||||||
$arr['allow_gid'] = $str_group_allow;
|
$arr['allow_gid'] = $str_group_allow;
|
||||||
$arr['deny_cid'] = $str_contact_deny;
|
$arr['deny_cid'] = $str_contact_deny;
|
||||||
$arr['deny_gid'] = $str_group_deny;
|
$arr['deny_gid'] = $str_group_deny;
|
||||||
|
$arr['verb'] = ACTIVITY_POST;
|
||||||
|
|
||||||
$arr['body'] = '[zrl=' . z_root() . '/photos/' . $channel['channel_address'] . '/image/' . $photo_hash . ']'
|
$arr['body'] = '[zrl=' . z_root() . '/photos/' . $channel['channel_address'] . '/image/' . $photo_hash . ']'
|
||||||
. '[zmg]' . z_root() . "/photo/{$photo_hash}-{$smallest}.".$ph->getExt() . '[/zmg]'
|
. '[zmg]' . z_root() . "/photo/{$photo_hash}-{$smallest}.".$ph->getExt() . '[/zmg]'
|
||||||
|
Reference in New Issue
Block a user