X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Flike.php;h=9ceff2303a9ef7bfe4709a810024b8611dccf005;hb=7e6598f2c01dc25b9420309dac1ec84160f21a03;hp=15633fc7671de1112414d54086c4f327b45855bb;hpb=01b02dbcaa8532f965389375e961d9c47d74eeec;p=friendica.git diff --git a/include/like.php b/include/like.php index 15633fc767..9ceff2303a 100644 --- a/include/like.php +++ b/include/like.php @@ -161,7 +161,7 @@ function do_like($item_id, $verb) { $uri = item_new_uri($a->get_hostname(),$owner_uid); $post_type = (($item['resource-id']) ? t('photo') : t('status')); - if($item['obj_type'] === ACTIVITY_OBJ_EVENT) + if($item['object-type'] === ACTIVITY_OBJ_EVENT) $post_type = t('event'); $objtype = (($item['resource-id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE ); $link = xmlify('' . "\n") ;