aboutsummaryrefslogtreecommitdiffstats
path: root/include/Contact.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-05 17:32:33 -0700
committerfriendica <info@friendica.com>2013-08-05 17:32:33 -0700
commitc965ed2bb620d12873fdf13aea13d18f12dba063 (patch)
tree034e31f0733e89dd58eb1d5161218db7be58a4b4 /include/Contact.php
parentc86dfd2e0c1626003711194cdd4871790f1d6879 (diff)
downloadvolse-hubzilla-c965ed2bb620d12873fdf13aea13d18f12dba063.tar.gz
volse-hubzilla-c965ed2bb620d12873fdf13aea13d18f12dba063.tar.bz2
volse-hubzilla-c965ed2bb620d12873fdf13aea13d18f12dba063.zip
enotify: localize things we know how to translate
Diffstat (limited to 'include/Contact.php')
-rw-r--r--include/Contact.php2
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)