aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-30 10:42:51 +0100
committerMario Vavti <mario@mariovavti.com>2017-10-30 10:42:51 +0100
commitb28ff509b1f7c95ac723fb1b2a20929da2ba7d3d (patch)
tree10cbc640f84ffabe70494822aa19096610fe5ded /include/connections.php
parent1f47f4ff9644523f14898ecd6f55d0fd0438d253 (diff)
parent4fef29e61c32b129f0090a4962d91607337a9406 (diff)
downloadvolse-hubzilla-b28ff509b1f7c95ac723fb1b2a20929da2ba7d3d.tar.gz
volse-hubzilla-b28ff509b1f7c95ac723fb1b2a20929da2ba7d3d.tar.bz2
volse-hubzilla-b28ff509b1f7c95ac723fb1b2a20929da2ba7d3d.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/connections.php')
-rw-r--r--include/connections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connections.php b/include/connections.php
index 60bce018e..e9d7daa2d 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -369,7 +369,7 @@ function contact_remove($channel_id, $abook_id) {
return false;
- $r = q("select * from item where (owner_xchan = '%s' or author_xchan = '%s') and uid = %d",
+ $r = q("select id from item where (owner_xchan = '%s' or author_xchan = '%s') and uid = %d",
dbesc($abook['abook_xchan']),
dbesc($abook['abook_xchan']),
intval($channel_id)