]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / mod / tagger.php
index 4d93047e260ac6098fb2e9cdc87e2d54b0068f03..b1f91d1bc403c3b78e1a6b11cde6baa02c7e81e2 100644 (file)
@@ -60,7 +60,7 @@ function tagger_content(App &$a) {
        $uri = item_new_uri($a->get_hostname(),$owner_uid);
        $xterm = xmlify($term);
        $post_type = (($item['resource-id']) ? t('photo') : t('status'));
-       $targettype = (($item['resource-id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
+       $targettype = (($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") ;