diff options
author | mrjive <mrjive@mrjive.it> | 2018-01-30 16:13:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 16:13:30 +0100 |
commit | 7ac4b477020689572a50dbc777c968263e86f6c4 (patch) | |
tree | 470336bcbdf0f989d48fb2c3349bd0ac0513da42 /include/items.php | |
parent | c2abbe2c238fa4d66e8a088c7d271acaa7e20876 (diff) | |
parent | d24cf0b85b24cb8d6d10e9fe66fed568f9fb08b2 (diff) | |
download | volse-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-x | include/items.php | 2 |
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); } |