mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 16:00:22 +01:00
Sorry @Kyokou, this should fix both problems, close ctrlcctrlv/infinity#399
This commit is contained in:
parent
7364e85351
commit
8c63d906e9
@ -165,9 +165,7 @@ class Bans {
|
||||
$query_addition .= "WHERE `board` IN (".$boards.")";
|
||||
}
|
||||
if ($board_access !== FALSE) {
|
||||
if ($query_addition) {
|
||||
$query_addition .= " AND (`public_bans` IS TRUE)";
|
||||
} else {
|
||||
if (!$query_addition) {
|
||||
$query_addition .= " WHERE (`public_bans` IS TRUE)";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user