aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-02-26 09:28:16 +0100
committerMario Vavti <mario@mariovavti.com>2019-02-26 09:28:16 +0100
commitde7f2eef47b06d2711473e50efd29ae12110e459 (patch)
treeab2812c36af084f5fe0c54a5cc236c72b57d5659
parenta449ffe49da7157255124facfa2ce5a273ec880d (diff)
downloadvolse-hubzilla-de7f2eef47b06d2711473e50efd29ae12110e459.tar.gz
volse-hubzilla-de7f2eef47b06d2711473e50efd29ae12110e459.tar.bz2
volse-hubzilla-de7f2eef47b06d2711473e50efd29ae12110e459.zip
use $channel_id until the function is adapted to not need it
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
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))));
}
}