diff options
author | Mario <mario@mariovavti.com> | 2023-02-15 09:41:48 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-02-15 09:41:48 +0000 |
commit | 1ca988b177834467671137c94f17a5948b465f6f (patch) | |
tree | 1250b1704335249bd584d52a714d18a49b705baa /Zotlabs/Widget | |
parent | 07fd8cf6cdf070911403338f2013fd6e94c87e61 (diff) | |
download | volse-hubzilla-1ca988b177834467671137c94f17a5948b465f6f.tar.gz volse-hubzilla-1ca988b177834467671137c94f17a5948b465f6f.tar.bz2 volse-hubzilla-1ca988b177834467671137c94f17a5948b465f6f.zip |
revisit author_id and fix issue with pinned content
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r-- | Zotlabs/Widget/Pinned.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Pinned.php b/Zotlabs/Widget/Pinned.php index 83036e98c..88a87d0fe 100644 --- a/Zotlabs/Widget/Pinned.php +++ b/Zotlabs/Widget/Pinned.php @@ -159,7 +159,9 @@ class Pinned { 'hide' => (! $is_new && isset($observer['xchan_hash']) && $observer['xchan_hash'] != $owner['xchan_hash'] ? t("Don't show") : ''), // end toolbar buttons 'modal_dismiss' => t('Close'), - 'responses' => $conv_responses + 'responses' => $conv_responses, + 'author_id' => (($author['xchan_addr']) ? $author['xchan_addr'] : $author['xchan_url']) + ]; $tpl = get_markup_template('pinned_item.tpl'); |