aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-26 19:11:13 +0000
committerMario <mario@mariovavti.com>2022-10-26 19:11:13 +0000
commitc8bc1b560bceb391e0af0c11f743fe5015443cff (patch)
tree3691a150d79aceb9818ba34affa7981e93b75c93 /include/connections.php
parent40ae6b396f3760c4c4b6e4de776869a88ce07fce (diff)
downloadvolse-hubzilla-c8bc1b560bceb391e0af0c11f743fe5015443cff.tar.gz
volse-hubzilla-c8bc1b560bceb391e0af0c11f743fe5015443cff.tar.bz2
volse-hubzilla-c8bc1b560bceb391e0af0c11f743fe5015443cff.zip
missing field in query
Diffstat (limited to 'include/connections.php')
-rw-r--r--include/connections.php2
1 files changed, 1 insertions, 1 deletions
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)