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 5c73b7ca3..e1880fe6e 100644
--- a/include/import.php
+++ b/include/import.php
@@ -138,6 +138,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 736712c81..9fa2f98a8 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3804,7 +3804,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) {