diff options
-rw-r--r-- | Zotlabs/Module/Item.php | 4 | ||||
-rw-r--r-- | include/items.php | 6 |
2 files changed, 5 insertions, 5 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']]); } } diff --git a/include/items.php b/include/items.php index 98cff99f9..dfa64fd27 100644 --- a/include/items.php +++ b/include/items.php @@ -3402,9 +3402,9 @@ function start_delivery_chain($channel, $item, $item_id, $parent, $group = false if ($post_id) { Master::Summon(['Notifier', 'tgroup', $post_id]); - if ($approval_id) { - Master::Summon(['Notifier', 'tgroup', $approval_id]); - } + if ($approval_id) { + Master::Summon(['Notifier', 'tgroup', $approval_id]); + } } q("update channel set channel_lastpost = '%s' where channel_id = %d", |