update
parent
6307db21d9
commit
1587e58fb6
|
@ -113,8 +113,8 @@ select count(*) from user_groups ug, users u
|
||||||
where group_id = (select id from groups where name = ?)
|
where group_id = (select id from groups where name = ?)
|
||||||
and user_id <> ?
|
and user_id <> ?
|
||||||
and u.id = user_id
|
and u.id = user_id
|
||||||
and u.activated = 1
|
and u.activated = ?
|
||||||
`, ADMIN, uid).Scan(&count)
|
`, ADMIN, uid, true).Scan(&count)
|
||||||
return count == 0
|
return count == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue