aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-02-26 09:26:00 +0100
committerMario <mario@mariovavti.com>2019-02-26 09:26:00 +0100
commita449ffe49da7157255124facfa2ce5a273ec880d (patch)
treee8c4d233ff1e5b4dcb1a6261efb7723a874866d8
parent04b92167583bd001033963e934abad6f39a9fd93 (diff)
parent7a1a44f80293648e5f4c0acda8f74e67c83f42d7 (diff)
downloadvolse-hubzilla-a449ffe49da7157255124facfa2ce5a273ec880d.tar.gz
volse-hubzilla-a449ffe49da7157255124facfa2ce5a273ec880d.tar.bz2
volse-hubzilla-a449ffe49da7157255124facfa2ce5a273ec880d.zip
Merge branch 'fix-sync_an_item' into 'dev'
Fix sync an item See merge request hubzilla/core!1531
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 30e758add..bb89e54a4 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($channel_d,array('item' => array(encode_item($sync_item[0],true))));
+ build_sync_packet($r[0]['uid'],array('item' => array(encode_item($sync_item[0],true))));
}
}