aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-29 16:58:55 -0800
committerzotlabs <mike@macgirvin.com>2018-01-29 16:58:55 -0800
commit8d479aa1c74169e5b39d6409582c87e59a82d692 (patch)
tree01f446acd8b60817f2cc00a10c3deeab408b0778 /include/items.php
parente4eff6a32bd6b9907c5c1a4454e5861f3712d380 (diff)
downloadvolse-hubzilla-8d479aa1c74169e5b39d6409582c87e59a82d692.tar.gz
volse-hubzilla-8d479aa1c74169e5b39d6409582c87e59a82d692.tar.bz2
volse-hubzilla-8d479aa1c74169e5b39d6409582c87e59a82d692.zip
redirect to the email_validation page if login was attempted after account creation but prior to successful verification. This presents the link to resend the verification email and/or allows you to enter it.
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);
}