From c8bc1b560bceb391e0af0c11f743fe5015443cff Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 26 Oct 2022 19:11:13 +0000 Subject: missing field in query --- include/connections.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/connections.php b/include/connections.php index d861bc1b3..936fc1edd 100644 --- a/include/connections.php +++ b/include/connections.php @@ -424,7 +424,7 @@ function contact_remove($channel_id, $abook_id) { function remove_abook_items($channel_id, $xchan_hash) { - $r = q("select id from item where (owner_xchan = '%s' or author_xchan = '%s') and uid = %d and item_retained = 0 and item_starred = 0", + $r = q("select id, parent from item where (owner_xchan = '%s' or author_xchan = '%s') and uid = %d and item_retained = 0 and item_starred = 0", dbesc($xchan_hash), dbesc($xchan_hash), intval($channel_id) -- cgit v1.2.3