diff options
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Vote.php | 3 |
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']]); } |