aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2020-05-05 19:42:00 -0700
committerzotlabs <mike@macgirvin.com>2020-05-05 19:42:00 -0700
commit79968ea07aa205e9c93993724d3f37362220b9d4 (patch)
tree053bbcc9c213bd2e1da2b4a1c464be771929b2c3 /include/event.php
parent7a0d9a449492ff3b5ef97b997310ed26ec1f53e4 (diff)
parent06d1cf83d2b1acfef5529fe388d2502bea381881 (diff)
downloadvolse-hubzilla-79968ea07aa205e9c93993724d3f37362220b9d4.tar.gz
volse-hubzilla-79968ea07aa205e9c93993724d3f37362220b9d4.tar.bz2
volse-hubzilla-79968ea07aa205e9c93993724d3f37362220b9d4.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/event.php b/include/event.php
index 6161175f6..82f6ca81e 100644
--- a/include/event.php
+++ b/include/event.php
@@ -1275,7 +1275,7 @@ function event_store_item($arr, $event) {
// otherwise we'll fallback to /display/$message_id
if($wall)
- $item_arr['plink'] = z_root() . '/channel/' . $z[0]['channel_address'] . '/?f=&mid=' . gen_link_id($item_arr['mid']);
+ $item_arr['plink'] = $item_arr['mid'];
else
$item_arr['plink'] = z_root() . '/display/' . gen_link_id($item_arr['mid']);