aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-05-28 09:15:18 +0000
committerMario <mario@mariovavti.com>2025-05-28 09:15:18 +0000
commit7e3d86bc37a045151cefd99941c340cf57f68757 (patch)
treeaca804f163fb3a177992a9d8fc639637fefb82ed /Zotlabs/Module
parentf0229c9f42379d0f5b60bb56797dbbde05b00fcf (diff)
downloadvolse-hubzilla-7e3d86bc37a045151cefd99941c340cf57f68757.tar.gz
volse-hubzilla-7e3d86bc37a045151cefd99941c340cf57f68757.tar.bz2
volse-hubzilla-7e3d86bc37a045151cefd99941c340cf57f68757.zip
more refactor and streamline for re-usability and easier maintenance
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Like.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index e704c397e..52c559a17 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -67,7 +67,7 @@ class Like extends Controller {
$items = conv_sort($items, 'commented');
}
else {
- $item = item_by_item_id($arr['item']['id']);
+ $item = item_by_item_id($arr['item']['id'], $arr['item']['parent']);
xchan_query($item, true);
$item = fetch_post_tags($item, true);
}