X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ftagger.php;h=e0ef1ceb02091496c4cf6d963daf02d903d4d88d;hb=724f9c80e79783957d75d011a0393f6d6bb1949e;hp=2c469a58bbf2571cf3924d3fb85ac495fb1bab69;hpb=ed1dce93d688cc6917348cac955e2b3a159215b9;p=friendica.git diff --git a/mod/tagger.php b/mod/tagger.php index 2c469a58bb..e0ef1ceb02 100644 --- a/mod/tagger.php +++ b/mod/tagger.php @@ -95,12 +95,13 @@ EOT; $bodyverb = t('%1$s tagged %2$s\'s %3$s with %4$s'); if(! isset($bodyverb)) - return; + return; $termlink = html_entity_decode('⌗') . '[url=' . $a->get_baseurl() . '/search?tag=' . urlencode($term) . ']'. $term . '[/url]'; $arr = array(); + $arr['guid'] = get_guid(32); $arr['uri'] = $uri; $arr['uid'] = $owner_uid; $arr['contact-id'] = $contact['id']; @@ -115,7 +116,7 @@ EOT; $arr['author-name'] = $contact['name']; $arr['author-link'] = $contact['url']; $arr['author-avatar'] = $contact['thumb']; - + $ulink = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]'; $alink = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]'; $plink = '[url=' . $item['plink'] . ']' . $post_type . '[/url]'; @@ -210,7 +211,7 @@ EOT; call_hooks('post_local_end', $arr); - proc_run('php',"include/notifier.php","tag","$post_id"); + proc_run(PRIORITY_HIGH, "include/notifier.php", "tag", $post_id); killme();