From de7f2eef47b06d2711473e50efd29ae12110e459 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 26 Feb 2019 09:28:16 +0100 Subject: [PATCH] use $channel_id until the function is adapted to not need it --- include/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/items.php b/include/items.php index bb89e54a4..51aa81017 100755 --- a/include/items.php +++ b/include/items.php @@ -4688,7 +4688,7 @@ function sync_an_item($channel_id,$item_id) { if($r) { xchan_query($r); $sync_item = fetch_post_tags($r); - build_sync_packet($r[0]['uid'],array('item' => array(encode_item($sync_item[0],true)))); + build_sync_packet($channel_id, array('item' => array(encode_item($sync_item[0],true)))); } }