fix item query
This commit is contained in:
parent
7b4cb31a10
commit
319b0acdd8
@ -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