aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2020-02-10 14:38:28 -0800
committerzotlabs <mike@macgirvin.com>2020-02-10 14:38:28 -0800
commitb767bda4105b141d71b94d4fdd4d6332f775db1a (patch)
tree76f4bf2319d35e60701dbe6c272bf08307906a9b /include/text.php
parentbe81a40b2b3a0b0c117e2c6571bb38f577859bb8 (diff)
parenta39d436f9f46138db623ee3c9ddef2c501ea8bd2 (diff)
downloadvolse-hubzilla-b767bda4105b141d71b94d4fdd4d6332f775db1a.tar.gz
volse-hubzilla-b767bda4105b141d71b94d4fdd4d6332f775db1a.tar.bz2
volse-hubzilla-b767bda4105b141d71b94d4fdd4d6332f775db1a.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 992b455c8..3dd0755a3 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'],[ 'Create','Update' ])) ? format_poll($item, $s, $opts) : false);
+ $poll = (($item['obj_type'] === 'Question' && in_array($item['verb'],[ ACTIVITY_POST, ACTIVITY_UPDATE ])) ? format_poll($item, $s, $opts) : false);
if ($poll) {
$s = $poll;
}