allow the profile recrods to be cloned separately
This commit is contained in:
parent
f748139606
commit
1a25b0bda7
@ -300,6 +300,7 @@ class Like extends \Zotlabs\Web\Controller {
|
|||||||
$r = q("select * from xchan where xchan_hash = '%s' limit 1",
|
$r = q("select * from xchan where xchan_hash = '%s' limit 1",
|
||||||
dbesc($item['owner_xchan'])
|
dbesc($item['owner_xchan'])
|
||||||
);
|
);
|
||||||
|
|
||||||
if($r)
|
if($r)
|
||||||
$thread_owner = $r[0];
|
$thread_owner = $r[0];
|
||||||
else
|
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",
|
$r = q("select * from profile where uid = %d",
|
||||||
intval($channel_id)
|
intval($channel_id)
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user