aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-02-29 10:25:22 +0000
committerMario <mario@mariovavti.com>2020-02-29 10:25:22 +0000
commit06f2979e04db2c5eb7e10bc4967d750209a4cc73 (patch)
treedad76e76e5b8c786d92c194d56d5a98dd7e06e92 /include
parent1ff9d1afdde31a6c1e8b32713313cfffc8ac4130 (diff)
downloadvolse-hubzilla-06f2979e04db2c5eb7e10bc4967d750209a4cc73.tar.gz
volse-hubzilla-06f2979e04db2c5eb7e10bc4967d750209a4cc73.tar.bz2
volse-hubzilla-06f2979e04db2c5eb7e10bc4967d750209a4cc73.zip
prevent duplicate votes
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 bf1ddee82..9768fdf23 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1950,7 +1950,7 @@ function item_store($arr, $allow_exec = false, $deliver = true) {
$arr['item_private'] = 0;
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']);
+ Activity::update_poll($r[0],$arr);
}
}