From c965ed2bb620d12873fdf13aea13d18f12dba063 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 5 Aug 2013 17:32:33 -0700 Subject: enotify: localize things we know how to translate --- 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 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) -- cgit v1.2.3