fix sql error
This commit is contained in:
parent
d39942902c
commit
ec3a066e4e
@ -380,7 +380,7 @@ function contact_remove($channel_id, $abook_id) {
|
|||||||
);
|
);
|
||||||
if($r) {
|
if($r) {
|
||||||
foreach($r as $rr) {
|
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(TERM_OBJ_POST),
|
||||||
intval($rr['id']),
|
intval($rr['id']),
|
||||||
intval(TERM_FILE)
|
intval(TERM_FILE)
|
||||||
|
Reference in New Issue
Block a user