aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2018-01-30 16:13:30 +0100
committerGitHub <noreply@github.com>2018-01-30 16:13:30 +0100
commit7ac4b477020689572a50dbc777c968263e86f6c4 (patch)
tree470336bcbdf0f989d48fb2c3349bd0ac0513da42 /include/items.php
parentc2abbe2c238fa4d66e8a088c7d271acaa7e20876 (diff)
parentd24cf0b85b24cb8d6d10e9fe66fed568f9fb08b2 (diff)
downloadvolse-hubzilla-7ac4b477020689572a50dbc777c968263e86f6c4.tar.gz
volse-hubzilla-7ac4b477020689572a50dbc777c968263e86f6c4.tar.bz2
volse-hubzilla-7ac4b477020689572a50dbc777c968263e86f6c4.zip
Merge pull request #13 from redmatrix/dev
Dev
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index b12ad1d85..c7206458e 100755
--- a/include/items.php
+++ b/include/items.php
@@ -390,7 +390,7 @@ function post_activity_item($arr, $allow_code = false, $deliver = true) {
$arr['comment_policy'] = map_scope(\Zotlabs\Access\PermissionLimits::Get($channel['channel_id'],'post_comments'));
if ((! $arr['plink']) && (intval($arr['item_thread_top']))) {
- $arr['plink'] = z_root() . '/channel/' . $channel['channel_address'] . '/?f=&mid=' . urlencode($arr['mid']);
+ $arr['plink'] = substr(z_root() . '/channel/' . $channel['channel_address'] . '/?f=&mid=' . urlencode($arr['mid']),0,190);
}