diff options
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 4 |
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)) )); |