]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
Just some more fixed notice
[friendica.git] / mod / tagger.php
index a5e9b3715b12dd8f929bb19a56183aad02ee82cd..0c515f9c8bbe1bdfd38937c2007118625f0945e4 100644 (file)
@@ -115,13 +115,12 @@ EOT;
 
        $arr = [];
 
-       $arr['guid'] = get_guid(32);
+       $arr['guid'] = System::createGUID(32);
        $arr['uri'] = $uri;
        $arr['uid'] = $owner_uid;
        $arr['contact-id'] = $contact['id'];
-       $arr['type'] = 'activity';
        $arr['wall'] = $item['wall'];
-       $arr['gravity'] = GRAVITY_ACTIVITY;
+       $arr['gravity'] = GRAVITY_COMMENT;
        $arr['parent'] = $item['id'];
        $arr['parent-uri'] = $item['uri'];
        $arr['owner-name'] = $item['author-name'];