memory overflow trying to delete a connection with a very high noise to signal ratio
This commit is contained in:
@@ -369,7 +369,7 @@ function contact_remove($channel_id, $abook_id) {
|
|||||||
return false;
|
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']),
|
||||||
dbesc($abook['abook_xchan']),
|
dbesc($abook['abook_xchan']),
|
||||||
intval($channel_id)
|
intval($channel_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user