X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ftagger.php;h=e6619f9fe2d37a148724da85467a21fcca81176f;hb=512e58a7db8fed2e3a5347b3e3ef0098718f86fb;hp=4d93047e260ac6098fb2e9cdc87e2d54b0068f03;hpb=35973b9273df73b92b840634ff021deb501e4221;p=friendica.git diff --git a/mod/tagger.php b/mod/tagger.php index 4d93047e26..e6619f9fe2 100644 --- a/mod/tagger.php +++ b/mod/tagger.php @@ -1,11 +1,12 @@ 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('' . "\n") ; @@ -94,8 +95,9 @@ EOT; $bodyverb = t('%1$s tagged %2$s\'s %3$s with %4$s'); - if(! isset($bodyverb)) - return; + if (! isset($bodyverb)) { + return; + } $termlink = html_entity_decode('⌗') . '[url=' . App::get_baseurl() . '/search?tag=' . urlencode($term) . ']'. $term . '[/url]';