diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/connections.php | 2 | ||||
-rw-r--r-- | include/import.php | 1 | ||||
-rw-r--r-- | include/zot.php | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/include/connections.php b/include/connections.php index d97ea3887..874237f97 100644 --- a/include/connections.php +++ b/include/connections.php @@ -379,6 +379,8 @@ function contact_remove($channel_id, $abook_id) { intval($channel_id) ); if($r) { + $r = fetch_post_tags($r,true); + foreach($r as $rr) { $x = q("select uid from term where otype = %d and oid = %d and ttype = %d limit 1", intval(TERM_OBJ_POST), diff --git a/include/import.php b/include/import.php index 714161c57..19e2bbcec 100644 --- a/include/import.php +++ b/include/import.php @@ -168,6 +168,7 @@ function import_profiles($channel, $profiles) { unset($profile['id']); $profile['aid'] = get_account_id(); $profile['uid'] = $channel['channel_id']; + unset($profile['profile_vcard']); convert_oldfields($profile,'name','fullname'); convert_oldfields($profile,'with','partner'); diff --git a/include/zot.php b/include/zot.php index 1a632cf87..4a8892083 100644 --- a/include/zot.php +++ b/include/zot.php @@ -4327,7 +4327,7 @@ function zotinfo($arr) { if($role === 'forum' || $role === 'repository') { $public_forum = true; } - else { + elseif($ztarget_hash) { // check if it has characteristics of a public forum based on custom permissions. $m = \Zotlabs\Access\Permissions::FilledAutoperms($e['channel_id']); if($m) { |