]> git.mxchange.org Git - friendica.git/blobdiff - mod/like.php
add photo upload link to album widget and "upload to this album" ability
[friendica.git] / mod / like.php
index 95bedcc20fed2a41a0fc2904e5b6b4fccd47e9e2..6b97fafb561e291ef9dd95406f663d77880ab926 100644 (file)
@@ -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