diff options
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 a49cc335f..b2d459ca4 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -247,7 +247,7 @@ function contact_remove($channel_id, $abook_id) { intval($channel_id) ); - q("delete from abook where abook_id = %d and channel_id = %d limit 1", + q("delete from abook where abook_id = %d and abook_channel = %d limit 1", intval($abook['abook_id']), intval($channel_id) ); |