From 93735df2c78b249d5735834c190dc91bad336172 Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Tue, 13 Jan 2015 17:54:40 +0100 Subject: Allow tags in mail, many profile fields, and admin info --- mod/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/item.php') diff --git a/mod/item.php b/mod/item.php index 7a14a8ae9..e1855732e 100644 --- a/mod/item.php +++ b/mod/item.php @@ -576,7 +576,7 @@ function item_post(&$a) { // Look for tags and linkify them - $results = linkify_tags($a, $body, $uid, $profile_uid); + $results = linkify_tags($a, $body, ($uid) ? $uid : $profile_uid); // Set permissions based on tag replacements set_linkified_perms($results, $str_contact_allow, $str_group_allow, $profile_uid, $parent_item); -- cgit v1.2.3