diff options
author | zotlabs <mike@macgirvin.com> | 2017-10-29 22:21:52 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-10-29 22:21:52 -0700 |
commit | 4fef29e61c32b129f0090a4962d91607337a9406 (patch) | |
tree | 44d01a856ce5aef10048db0bcdfed3a08e107e96 /include/connections.php | |
parent | 56c3d5dbcbdbaef9df7cb03d24e67ad8c4a157d0 (diff) | |
download | volse-hubzilla-4fef29e61c32b129f0090a4962d91607337a9406.tar.gz volse-hubzilla-4fef29e61c32b129f0090a4962d91607337a9406.tar.bz2 volse-hubzilla-4fef29e61c32b129f0090a4962d91607337a9406.zip |
memory overflow trying to delete a connection with a very high noise to signal ratio
Diffstat (limited to 'include/connections.php')
-rw-r--r-- | include/connections.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connections.php b/include/connections.php index 60bce018e..e9d7daa2d 100644 --- a/include/connections.php +++ b/include/connections.php @@ -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) |