]> git.mxchange.org Git - friendica.git/blobdiff - mod/like.php
improvements in newmember page
[friendica.git] / mod / like.php
old mode 100644 (file)
new mode 100755 (executable)
index 95bedcc..6b97faf
@@ -154,7 +154,8 @@ EOT;
        $arr['uid'] = $owner_uid;
        $arr['contact-id'] = $contact['id'];
        $arr['type'] = 'activity';
-       $arr['wall'] = 1;
+       $arr['wall'] = $item['wall'];
+       $arr['origin'] = 1;
        $arr['gravity'] = GRAVITY_LIKE;
        $arr['parent'] = $item['id'];
        $arr['parent-uri'] = $item['uri'];
@@ -196,5 +197,6 @@ EOT;
 
        proc_run('php',"include/notifier.php","like","$post_id");
 
-       return; // NOTREACHED
+       killme();
+//     return; // NOTREACHED
 }
\ No newline at end of file