aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index d960b6b1f..2f1e12250 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -251,6 +251,7 @@ function item_post(&$a) {
'$username' => $user['username'],
'$email' => $user['email'],
'$from' => $from,
+ '$display' => $a->get_baseurl() . '/display/' . $post_id,
'$body' => strip_tags(bbcode($body))
));
@@ -273,6 +274,7 @@ function item_post(&$a) {
'$username' => $user['username'],
'$email' => $user['email'],
'$from' => $from,
+ '$display' => $a->get_baseurl() . '/display/' . $post_id,
'$body' => strip_tags(bbcode($body))
));