aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-10-06 08:50:11 +0000
committerMario <mario@mariovavti.com>2023-10-06 08:50:11 +0000
commitfe38c81e074df0e1b264d6ccf0b033294439594b (patch)
treecaec1979f830c7cd375e1b864507beb4ed14fe00 /Zotlabs/Lib
parentfed9bc70727ed3f8feb2b01f7ffdfd4e0a52cd7e (diff)
downloadvolse-hubzilla-fe38c81e074df0e1b264d6ccf0b033294439594b.tar.gz
volse-hubzilla-fe38c81e074df0e1b264d6ccf0b033294439594b.tar.bz2
volse-hubzilla-fe38c81e074df0e1b264d6ccf0b033294439594b.zip
use the correct variable
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 312fcdb5f..36e6ecc8c 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -544,7 +544,7 @@ class Activity {
$ret['commentPolicy'] .= 'until=' . datetime_convert('UTC', 'UTC', $i['comments_closed'], ATOM_TIME);
}
- $ret['attributedTo'] = self::encode_person($item['author'], false);
+ $ret['attributedTo'] = self::encode_person($i['author'], false);
if ($i['mid'] !== $i['parent_mid']) {
$ret['inReplyTo'] = ((strpos($i['thr_parent'], 'http') === 0) ? $i['thr_parent'] : z_root() . '/item/' . urlencode($i['thr_parent']));