parent -> id
This commit is contained in:
parent
c605c46f83
commit
59ee045c24
@ -384,7 +384,7 @@ function contact_remove($channel_id, $abook_id) {
|
|||||||
|
|
||||||
// if this isn't the parent, see if the conversation was retained
|
// if this isn't the parent, see if the conversation was retained
|
||||||
if($rr['id'] != $rr['parent']) {
|
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'])
|
intval($rr['parent'])
|
||||||
);
|
);
|
||||||
if($w) {
|
if($w) {
|
||||||
|
Reference in New Issue
Block a user