allow the profile recrods to be cloned separately

This commit is contained in:
zotlabs
2018-04-04 17:54:43 -07:00
parent f748139606
commit 1a25b0bda7
2 changed files with 3 additions and 2 deletions

View File

@@ -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