aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-07-27 15:27:52 -0700
committerzotlabs <mike@macgirvin.com>2018-07-27 15:27:52 -0700
commit38c2070aabf590d90ccd854e0542affe2ca6a2a2 (patch)
treeed96858870025eeff1737f8f9cfaeadca2061d02 /include/connections.php
parenta0f28708ab125e953157299d13d8ebbea8b77396 (diff)
parentec3a066e4e94ad7c72d1d07371081318a4d5e9ab (diff)
downloadvolse-hubzilla-38c2070aabf590d90ccd854e0542affe2ca6a2a2.tar.gz
volse-hubzilla-38c2070aabf590d90ccd854e0542affe2ca6a2a2.tar.bz2
volse-hubzilla-38c2070aabf590d90ccd854e0542affe2ca6a2a2.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into xdev_merge
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 807d07220..129bcdc8d 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -380,7 +380,7 @@ function contact_remove($channel_id, $abook_id) {
);
if($r) {
foreach($r as $rr) {
- $x = q("select uid from term where otype = %d and oid = %d ttype = %d limit 1",
+ $x = q("select uid from term where otype = %d and oid = %d and ttype = %d limit 1",
intval(TERM_OBJ_POST),
intval($rr['id']),
intval(TERM_FILE)