diff options
author | Mario <mario@mariovavti.com> | 2020-02-23 08:45:39 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-02-23 08:45:39 +0000 |
commit | ed28ef185e1e64b1666533d21df5de71741e5571 (patch) | |
tree | 59c5042bb7f898d05c0ecf8dffe07b2918d1332b /include/text.php | |
parent | 9d97cc2a1d28cd201912870a5342e7eaf9285491 (diff) | |
download | volse-hubzilla-ed28ef185e1e64b1666533d21df5de71741e5571.tar.gz volse-hubzilla-ed28ef185e1e64b1666533d21df5de71741e5571.tar.bz2 volse-hubzilla-ed28ef185e1e64b1666533d21df5de71741e5571.zip |
polls can also appear in shares
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 3dd0755a3..1475ff334 100644 --- a/include/text.php +++ b/include/text.php @@ -1731,7 +1731,7 @@ function prepare_body(&$item,$attach = false,$opts = false) { } } - $poll = (($item['obj_type'] === 'Question' && in_array($item['verb'],[ ACTIVITY_POST, ACTIVITY_UPDATE ])) ? format_poll($item, $s, $opts) : false); + $poll = (($item['obj_type'] === 'Question' && in_array($item['verb'],[ ACTIVITY_POST, ACTIVITY_UPDATE, ACTIVITY_SHARE ])) ? format_poll($item, $s, $opts) : false); if ($poll) { $s = $poll; } |