aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-26 03:47:04 -0800
committerFriendika <info@friendika.com>2010-11-26 03:47:04 -0800
commitd6caf59f3521f3f65cbcf4cba71a7f0d7ad13178 (patch)
tree007f85294fc82155e03de129749f6476a7d785bf
parent846fa8d5f799ea61ff4400504eb9947019fd6f1b (diff)
downloadvolse-hubzilla-d6caf59f3521f3f65cbcf4cba71a7f0d7ad13178.tar.gz
volse-hubzilla-d6caf59f3521f3f65cbcf4cba71a7f0d7ad13178.tar.bz2
volse-hubzilla-d6caf59f3521f3f65cbcf4cba71a7f0d7ad13178.zip
verify all the display links in emails
-rw-r--r--mod/item.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/item.php b/mod/item.php
index bd4f4d9af..504856d7d 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -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))
));