]> git.mxchange.org Git - friendica.git/commitdiff
was not missing in develop branch, but here. :-(
authorRoland Häder <roland@mxchange.org>
Thu, 22 Dec 2016 08:10:17 +0000 (09:10 +0100)
committerRoland Häder <roland@mxchange.org>
Thu, 22 Dec 2016 08:10:17 +0000 (09:10 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
include/like.php

index b8909be320605c35dfed46c4e68333777744c121..4df15b4b637963297c9004fc0f4d3dabb30d58aa 100644 (file)
@@ -163,6 +163,7 @@ function do_like($item_id, $verb) {
        $post_type = (($item['resource-id']) ? t('photo') : t('status'));
        if ($item['object-type'] === ACTIVITY_OBJ_EVENT) {
                $post_type = t('event');
+       }
        $objtype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
        $link = xmlify('<link rel="alternate" type="text/html" href="' . App::get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . '" />' . "\n") ;
        $body = $item['body'];