allow the profile recrods to be cloned separately
This commit is contained in:
parent
f748139606
commit
1a25b0bda7
@ -296,10 +296,11 @@ class Like extends \Zotlabs\Web\Controller {
|
||||
notice( t('Permission denied') . EOL);
|
||||
killme();
|
||||
}
|
||||
|
||||
|
||||
$r = q("select * from xchan where xchan_hash = '%s' limit 1",
|
||||
dbesc($item['owner_xchan'])
|
||||
);
|
||||
|
||||
if($r)
|
||||
$thread_owner = $r[0];
|
||||
else
|
||||
|
@ -780,7 +780,7 @@ function identity_basic_export($channel_id, $sections = null) {
|
||||
}
|
||||
}
|
||||
|
||||
if(in_array('channel',$sections)) {
|
||||
if(in_array('channel',$sections) || in_array('profile',$sections)) {
|
||||
$r = q("select * from profile where uid = %d",
|
||||
intval($channel_id)
|
||||
);
|
||||
|
Reference in New Issue
Block a user