diff options
Diffstat (limited to 'mod/profiles.php')
-rw-r--r-- | mod/profiles.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index 4df8a5af7..61f525e0f 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -385,9 +385,17 @@ function profile_activity($changed, $value) { $arr['deny_gid'] = $a->user['deny_gid']; $i = item_store($arr); - if($i) + if($i) { + + // give it a permanent link + q("update item set plink = '%s' where id = %d limit 1", + dbesc($a->get_baseurl() . '/display/' . $a->user['nickname'] . '/' . $i), + intval($i) + ); + proc_run('php',"include/notifier.php","activity","$i"); + } } |