aboutsummaryrefslogtreecommitdiffstats
path: root/include/Contact.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-19 04:47:49 -0700
committerfriendica <info@friendica.com>2013-04-19 04:47:49 -0700
commit868a1877d289c886a7a081aa1bcea2f0cee7b51e (patch)
tree79466522b05deea960d191dce3c790f327bf87a9 /include/Contact.php
parent9e22ec928b9534ea9db0d18bf685fb0d357fbad2 (diff)
downloadvolse-hubzilla-868a1877d289c886a7a081aa1bcea2f0cee7b51e.tar.gz
volse-hubzilla-868a1877d289c886a7a081aa1bcea2f0cee7b51e.tar.bz2
volse-hubzilla-868a1877d289c886a7a081aa1bcea2f0cee7b51e.zip
sql error on contact removal
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 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)
);