diff options
author | redmatrix <git@macgirvin.com> | 2016-01-26 15:38:56 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-26 15:38:56 -0800 |
commit | 535a54040f84bee6c90a24920cf861c2c307dfa4 (patch) | |
tree | 77350087dc8db4dfe7b1ebe2d8a39825fa3063cb /include/zot.php | |
parent | 3494fddd7c13637c8fb25104002b59448f182e79 (diff) | |
download | volse-hubzilla-535a54040f84bee6c90a24920cf861c2c307dfa4.tar.gz volse-hubzilla-535a54040f84bee6c90a24920cf861c2c307dfa4.tar.bz2 volse-hubzilla-535a54040f84bee6c90a24920cf861c2c307dfa4.zip |
add abook_account to cloned abook records, was missing
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 ++; |