]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
File was missing
[friendica.git] / mod / tagger.php
index 2c469a58bbf2571cf3924d3fb85ac495fb1bab69..e0ef1ceb02091496c4cf6d963daf02d903d4d88d 100644 (file)
@@ -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();