diff options
author | Mario <mario@mariovavti.com> | 2020-02-10 20:37:35 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-02-10 20:37:35 +0000 |
commit | a39d436f9f46138db623ee3c9ddef2c501ea8bd2 (patch) | |
tree | 76f4bf2319d35e60701dbe6c272bf08307906a9b /Zotlabs/Lib/Libzot.php | |
parent | 50dbe1e62d8da44a710f1eb0f7e9d9eaf88c4084 (diff) | |
download | volse-hubzilla-a39d436f9f46138db623ee3c9ddef2c501ea8bd2.tar.gz volse-hubzilla-a39d436f9f46138db623ee3c9ddef2c501ea8bd2.tar.bz2 volse-hubzilla-a39d436f9f46138db623ee3c9ddef2c501ea8bd2.zip |
poll fixes
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 2 |
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'; } } |