diff options
author | Thomas Willingham <founder@kakste.com> | 2013-08-05 17:29:18 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-08-05 17:29:18 +0100 |
commit | 290cdf81d6c21496fc128ba5f8c42cb16d8b0eaf (patch) | |
tree | 76909ede73a2d679a2e59c6d2c69133bd4e8aecd /include/Contact.php | |
parent | c86dfd2e0c1626003711194cdd4871790f1d6879 (diff) | |
download | volse-hubzilla-290cdf81d6c21496fc128ba5f8c42cb16d8b0eaf.tar.gz volse-hubzilla-290cdf81d6c21496fc128ba5f8c42cb16d8b0eaf.tar.bz2 volse-hubzilla-290cdf81d6c21496fc128ba5f8c42cb16d8b0eaf.zip |
Issue #88
Diffstat (limited to 'include/Contact.php')
-rw-r--r-- | include/Contact.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Contact.php b/include/Contact.php index 7e6c65ac1..b9ad1e4cb 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -317,7 +317,7 @@ function contact_remove($channel_id, $abook_id) { intval($channel_id) ); - $r = q("delete from mail where ( from_xchan = '%s' or to_xchan = '%s' ) and uid = %d ", + $r = q("delete from mail where ( from_xchan = '%s' or to_xchan = '%s' ) and channel_id = %d ", dbesc($abook['abook_xchan']), dbesc($abook['abook_xchan']), intval($channel_id) |