From 3821efb99ed2377f5380bf37a0a1ac3412d08c82 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 1 Jun 2014 01:30:34 -0700 Subject: issue #477 --- include/event.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/event.php') diff --git a/include/event.php b/include/event.php index 0f337867c..107b15427 100644 --- a/include/event.php +++ b/include/event.php @@ -391,7 +391,7 @@ function event_store_item($arr,$event) { if(! $arr['mid']) $arr['mid'] = item_message_id(); - + $item_arr['aid'] = $z[0]['channel_account_id']; $item_arr['uid'] = $arr['uid']; $item_arr['author_xchan'] = $arr['event_xchan']; $item_arr['mid'] = $arr['mid']; @@ -409,7 +409,7 @@ function event_store_item($arr,$event) { $item_arr['verb'] = ACTIVITY_POST; $item_arr['resource_type'] = 'event'; - $item_arr['resource_id'] = $hash; + $item_arr['resource_id'] = $event['event_hash']; $item_arr['obj_type'] = ACTIVITY_OBJ_EVENT; $item_arr['body'] = format_event_bbcode($arr); -- cgit v1.2.3