aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-12-20 12:15:42 +0000
committerMario <mario@mariovavti.com>2023-12-20 12:15:42 +0000
commit4761857157281046c96a7bbf0fe87491bafd4696 (patch)
treed69a0ac807db498e8ff46a0137ce1d1db7e81e9e /include
parent3aefe23184c25c1fc0865313d13902cabfb934d3 (diff)
downloadvolse-hubzilla-4761857157281046c96a7bbf0fe87491bafd4696.tar.gz
volse-hubzilla-4761857157281046c96a7bbf0fe87491bafd4696.tar.bz2
volse-hubzilla-4761857157281046c96a7bbf0fe87491bafd4696.zip
Revert "changelog"
This reverts commit 3aefe23184c25c1fc0865313d13902cabfb934d3.
Diffstat (limited to 'include')
-rw-r--r--include/text.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index b9e3835e7..27dd94bc5 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1798,7 +1798,8 @@ 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;
}