From 868a1877d289c886a7a081aa1bcea2f0cee7b51e Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 19 Apr 2013 04:47:49 -0700 Subject: sql error on contact removal --- include/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/Contact.php') 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) ); -- cgit v1.2.3