diff --git a/mod/item.php b/mod/item.php index bd4f4d9afa..504856d7d2 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)) ));