X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_confirm.php;h=5e0e5c85c5173197b6dd802ace0a6bc916cbedc2;hb=1f2c495cd8f68a9539dea7307fcbb1de3e84934b;hp=cc09021dcaa980b67af133e880401cdb67e2bccb;hpb=f6c950823f97eb96f9c484d69cabeef17dcb117d;p=friendica.git diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index cc09021dca..5e0e5c85c5 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -448,6 +448,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { if(count($self)) { $arr = array(); + $arr['guid'] = get_guid(32); $arr['uri'] = $arr['parent-uri'] = item_new_uri($a->get_hostname(), $uid); $arr['uid'] = $uid; $arr['contact-id'] = $self[0]['id']; @@ -466,7 +467,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $BPhoto = '[url=' . $contact['url'] . ']' . '[img]' . $contact['thumb'] . '[/img][/url]'; $arr['verb'] = ACTIVITY_FRIEND; - $arr['object-type'] = ACTIVITY_OBJ_PERSON; + $arr['object-type'] = ACTIVITY_OBJ_PERSON; $arr['body'] = sprintf( t('%1$s is now friends with %2$s'), $A, $B)."\n\n\n".$BPhoto; $arr['object'] = '' . ACTIVITY_OBJ_PERSON . '' . $contact['name'] . ''