aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-02-11 07:55:34 +0100
committerMario <mario@mariovavti.com>2020-02-11 07:55:34 +0100
commit95476cf33cf7c7971e018f9136d1c64dfc901d17 (patch)
treeb689e76e7eae9c7e339916048b7c5623b96a4b7d /include
parenta39d436f9f46138db623ee3c9ddef2c501ea8bd2 (diff)
parentbf7c96807a50433b7241ddf6df9e01d4ef11f43d (diff)
downloadvolse-hubzilla-95476cf33cf7c7971e018f9136d1c64dfc901d17.tar.gz
volse-hubzilla-95476cf33cf7c7971e018f9136d1c64dfc901d17.tar.bz2
volse-hubzilla-95476cf33cf7c7971e018f9136d1c64dfc901d17.zip
Merge branch 'dev' into 'dev'
this allows polls to federate from hubzilla to zap, though still a remaining issue with voting See merge request hubzilla/core!1830
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index c5743e91c..bf1ddee82 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1949,7 +1949,7 @@ function item_store($arr, $allow_exec = false, $deliver = true) {
if(intval($r[0]['item_uplink']) && (! $r[0]['item_private']))
$arr['item_private'] = 0;
- if(in_array($arr['verb'], ['Note','Answer']) && $arr['obj_type'] === 'Question' && intval($r[0]['item_wall'])) {
+ if(in_array($arr['obj_type'], ['Note','Answer']) && $r[0]['obj_type'] === 'Question' && intval($r[0]['item_wall'])) {
Activity::update_poll($r[0],$arr['mid'],$arr['title']);
}