aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.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 /Zotlabs/Lib/Libzot.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 'Zotlabs/Lib/Libzot.php')
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 2776a681e..d64421926 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1643,7 +1643,7 @@ class Libzot {
// route checking doesn't work correctly here because we've changed the privacy
$r[0]['route'] = EMPTY_STR;
// If this is a poll response, convert the obj_type to our (internal-only) "Answer" type
- if ($arr['obj_type'] === ACTIVITY_OBJ_NOTE && $arr['title'] && (! $arr['content'])) {
+ if ($arr['obj_type'] === ACTIVITY_OBJ_COMMENT && $arr['title'] && (! $arr['body'])) {
$arr['obj_type'] = 'Answer';
}
}