aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Vote.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-11-11 22:25:53 +0000
committerMario <mario@mariovavti.com>2024-11-11 22:25:53 +0000
commit39d0a3f1f6f2894839460ec706dd7c3d1afb38ca (patch)
tree98a25bd64f84d495c8e049eaa720375abfe3fb50 /Zotlabs/Module/Vote.php
parent8268ed1ba7a995fd4559d277999ad5a482571eec (diff)
downloadvolse-hubzilla-39d0a3f1f6f2894839460ec706dd7c3d1afb38ca.tar.gz
volse-hubzilla-39d0a3f1f6f2894839460ec706dd7c3d1afb38ca.tar.bz2
volse-hubzilla-39d0a3f1f6f2894839460ec706dd7c3d1afb38ca.zip
containers: poll testing
Diffstat (limited to 'Zotlabs/Module/Vote.php')
-rw-r--r--Zotlabs/Module/Vote.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Vote.php b/Zotlabs/Module/Vote.php
index d288426e9..5192e3043 100644
--- a/Zotlabs/Module/Vote.php
+++ b/Zotlabs/Module/Vote.php
@@ -107,8 +107,7 @@ class Vote extends Controller {
retain_item($fetch[0]['id']);
if($x['success']) {
- $itemid = $x['item_id'];
- Master::Summon( ['Notifier', 'like', $itemid ] );
+ Master::Summon(['Notifier', 'like', $x['item_id']]);
if (!empty($x['approval_id'])) {
Master::Summon(['Notifier', 'like', $x['approval_id']]);
}