]> git.mxchange.org Git - friendica.git/commitdiff
verify all the display links in emails
authorFriendika <info@friendika.com>
Fri, 26 Nov 2010 11:47:04 +0000 (03:47 -0800)
committerFriendika <info@friendika.com>
Fri, 26 Nov 2010 11:47:04 +0000 (03:47 -0800)
mod/item.php

index bd4f4d9afa3952367a07b1d83f0e7fdef2bba2cf..504856d7d2d9883618edefa4ac4f8b8157e7c42e 100644 (file)
@@ -261,7 +261,7 @@ function item_post(&$a) {
                                        '$username' => $user['username'],
                                        '$email' => $user['email'],
                                        '$from' => $from,
-                                       '$display' => $a->get_baseurl() . '/display/' . $post_id,
+                                       '$display' => $a->get_baseurl() . '/display/' . $user['nickname'] . '/' . $post_id,
                                        '$body' => strip_tags(bbcode($body))
                                ));
 
@@ -284,7 +284,7 @@ function item_post(&$a) {
                                        '$username' => $user['username'],
                                        '$email' => $user['email'],
                                        '$from' => $from,
-                                       '$display' => $a->get_baseurl() . '/display/' . $post_id,
+                                       '$display' => $a->get_baseurl() . '/display/' . $user['nickname'] . '/' . $post_id,
                                        '$body' => strip_tags(bbcode($body))
                                ));