From 535a54040f84bee6c90a24920cf861c2c307dfa4 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 26 Jan 2016 15:38:56 -0800 Subject: add abook_account to cloned abook records, was missing --- include/zot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 9d09aaf58..0210f3f4a 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3186,8 +3186,9 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) { logger('process_channel_sync_delivery: total_feeds service class limit exceeded'); continue; } - q("insert into abook ( abook_xchan, abook_channel ) values ('%s', %d ) ", + q("insert into abook ( abook_xchan, abook_account, abook_channel ) values ('%s', %d, %d ) ", dbesc($clean['abook_xchan']), + intval($channel['channel_account_id']), intval($channel['channel_id']) ); $total_friends ++; -- cgit v1.2.3