memory overflow trying to delete a connection with a very high noise to signal ratio
This commit is contained in:
parent
56c3d5dbcb
commit
4fef29e61c
@ -369,7 +369,7 @@ function contact_remove($channel_id, $abook_id) {
|
||||
return false;
|
||||
|
||||
|
||||
$r = q("select * from item where (owner_xchan = '%s' or author_xchan = '%s') and uid = %d",
|
||||
$r = q("select id from item where (owner_xchan = '%s' or author_xchan = '%s') and uid = %d",
|
||||
dbesc($abook['abook_xchan']),
|
||||
dbesc($abook['abook_xchan']),
|
||||
intval($channel_id)
|
||||
|
Reference in New Issue
Block a user