diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-07-26 09:32:52 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-07-26 09:32:52 +0200 |
commit | ec3a066e4e94ad7c72d1d07371081318a4d5e9ab (patch) | |
tree | cf895d0dc25a751657a095d9363a302a60a2951e /include/connections.php | |
parent | d39942902c1404837e6d767379be16595046ab2f (diff) | |
download | volse-hubzilla-ec3a066e4e94ad7c72d1d07371081318a4d5e9ab.tar.gz volse-hubzilla-ec3a066e4e94ad7c72d1d07371081318a4d5e9ab.tar.bz2 volse-hubzilla-ec3a066e4e94ad7c72d1d07371081318a4d5e9ab.zip |
fix sql error
Diffstat (limited to 'include/connections.php')
-rw-r--r-- | include/connections.php | 2 |
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) |