aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/import.php1
-rw-r--r--include/zot.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php
index 0d3fb8c32..fb7826101 100644
--- a/include/import.php
+++ b/include/import.php
@@ -162,6 +162,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 0343f4464..fd8247234 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -4311,7 +4311,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) {