diff options
author | Mario Vavti <mario@mariovavti.com> | 2024-11-09 12:39:24 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2024-11-09 12:39:24 +0100 |
commit | b6dbbbc82fd66335f8be990bb74afbd46e63954b (patch) | |
tree | 33ff1e61824eff7713439078181a567b771a3033 /Zotlabs/Module/Item.php | |
parent | 954d92c354aef93cac7079472c55b53ac4a07d2a (diff) | |
download | volse-hubzilla-b6dbbbc82fd66335f8be990bb74afbd46e63954b.tar.gz volse-hubzilla-b6dbbbc82fd66335f8be990bb74afbd46e63954b.tar.bz2 volse-hubzilla-b6dbbbc82fd66335f8be990bb74afbd46e63954b.zip |
fix regression propagating deletes
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r-- | Zotlabs/Module/Item.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 83b7bea1e..039468ad7 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -1475,7 +1475,7 @@ class Item extends Controller { require_once('include/items.php'); - $i = q("select id, uid, item_origin, author_xchan, owner_xchan, source_xchan, item_type from item where id = %d limit 1", + $i = q("select * from item where id = %d limit 1", intval(argv(2)) ); @@ -1534,7 +1534,7 @@ class Item extends Controller { if ($complex) { tag_deliver($i[0]['uid'], $i[0]['id']); if (intval($i[0]['item_wall']) || $i[0]['mid'] !== $i[0]['parent_mid']) { - Master::Summon(['Notifier', 'drop', $dropped_item['id']]); + Master::Summon(['Notifier', 'drop', $i[0]['id']]); } } |