diff options
author | zotlabs <mike@macgirvin.com> | 2018-04-04 17:54:43 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-04-04 17:54:43 -0700 |
commit | 1a25b0bda7d598888a49ee722f0f5cbea2a2f8f9 (patch) | |
tree | e9b846da870edf49a5fc50ca308796feaac84adf /Zotlabs | |
parent | f7481396060a5a57cdd5fe7055eed5ad3225f8f1 (diff) | |
download | volse-hubzilla-1a25b0bda7d598888a49ee722f0f5cbea2a2f8f9.tar.gz volse-hubzilla-1a25b0bda7d598888a49ee722f0f5cbea2a2f8f9.tar.bz2 volse-hubzilla-1a25b0bda7d598888a49ee722f0f5cbea2a2f8f9.zip |
allow the profile recrods to be cloned separately
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Like.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php index 6d9fde17c..12de86e72 100644 --- a/Zotlabs/Module/Like.php +++ b/Zotlabs/Module/Like.php @@ -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 |