aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-02-10 20:37:35 +0000
committerMario <mario@mariovavti.com>2020-02-10 20:37:35 +0000
commita39d436f9f46138db623ee3c9ddef2c501ea8bd2 (patch)
tree76f4bf2319d35e60701dbe6c272bf08307906a9b /include/text.php
parent50dbe1e62d8da44a710f1eb0f7e9d9eaf88c4084 (diff)
downloadvolse-hubzilla-a39d436f9f46138db623ee3c9ddef2c501ea8bd2.tar.gz
volse-hubzilla-a39d436f9f46138db623ee3c9ddef2c501ea8bd2.tar.bz2
volse-hubzilla-a39d436f9f46138db623ee3c9ddef2c501ea8bd2.zip
poll fixes
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;
}