diff options
author | Mario <mario@mariovavti.com> | 2023-04-23 16:07:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-04-23 16:07:57 +0000 |
commit | 3ad0179b629787cb8d7672e351a2abb9847850ad (patch) | |
tree | e9e089d94cede2f8a55cbe225b2f4e2957f285c5 /Zotlabs/Widget/Pinned.php | |
parent | 81f33da4991ed2abaa2422dac2bcc5fe5a2eea74 (diff) | |
download | volse-hubzilla-3ad0179b629787cb8d7672e351a2abb9847850ad.tar.gz volse-hubzilla-3ad0179b629787cb8d7672e351a2abb9847850ad.tar.bz2 volse-hubzilla-3ad0179b629787cb8d7672e351a2abb9847850ad.zip |
fix regression when rendering event items
Diffstat (limited to 'Zotlabs/Widget/Pinned.php')
-rw-r--r-- | Zotlabs/Widget/Pinned.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Pinned.php b/Zotlabs/Widget/Pinned.php index 6d2618deb..bd1c0e462 100644 --- a/Zotlabs/Widget/Pinned.php +++ b/Zotlabs/Widget/Pinned.php @@ -67,7 +67,7 @@ class Pinned { $conv_responses = []; - if($item['obj_type'] === ACTIVITY_OBJ_EVENT) { + if(in_array($item['obj_type'], ['Event', ACTIVITY_OBJ_EVENT])) { $conv_responses['attendyes'] = [ 'title' => t('Attending','title') ]; $conv_responses['attendno'] = [ 'title' => t('Not attending','title') ]; $conv_responses['attendmaybe'] = [ 'title' => t('Might attend','title') ]; |