aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-05-03 09:01:53 +0200
committerMario Vavti <mario@mariovavti.com>2019-05-03 09:01:53 +0200
commit59ee045c2467010dab4c24dba96022ecda783b5e (patch)
tree1cd70a41107dcb69537e8d028e8dae3377435278
parentc605c46f83b6dc5141f2506ba4b0047b299c26de (diff)
downloadvolse-hubzilla-59ee045c2467010dab4c24dba96022ecda783b5e.tar.gz
volse-hubzilla-59ee045c2467010dab4c24dba96022ecda783b5e.tar.bz2
volse-hubzilla-59ee045c2467010dab4c24dba96022ecda783b5e.zip
parent -> id
-rw-r--r--include/connections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connections.php b/include/connections.php
index 6382250d5..533c5be39 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -384,7 +384,7 @@ function contact_remove($channel_id, $abook_id) {
// if this isn't the parent, see if the conversation was retained
if($rr['id'] != $rr['parent']) {
- $w = q("select id from item where parent = %d and item_retained = 0",
+ $w = q("select id from item where id = %d and item_retained = 0",
intval($rr['parent'])
);
if($w) {