diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-07-26 07:32:52 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-07-26 09:34:48 +0200 |
commit | 7062a7ce6615b29582b44bbc484f32adf74aa771 (patch) | |
tree | c7b913c50ed5706801855240e8722fd756bed405 /include/connections.php | |
parent | 52ad5b7df5cb57dafae974180690195c7799fad0 (diff) | |
download | volse-hubzilla-7062a7ce6615b29582b44bbc484f32adf74aa771.tar.gz volse-hubzilla-7062a7ce6615b29582b44bbc484f32adf74aa771.tar.bz2 volse-hubzilla-7062a7ce6615b29582b44bbc484f32adf74aa771.zip |
fix sql error
(cherry picked from commit ec3a066e4e94ad7c72d1d07371081318a4d5e9ab)
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 76b26e468..1135b6697 100644 --- a/include/connections.php +++ b/include/connections.php @@ -382,7 +382,7 @@ function contact_remove($channel_id, $abook_id) { $r = fetch_post_tags($r,true); 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) |