forked from leftypol/leftypol
UserSearchQueries.php: fix query generation
This commit is contained in:
parent
f6b74cb282
commit
f491fa0cf8
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ class UserPostQueries {
|
|||
for ($i = 0; $i < \count($flags); $i++) {
|
||||
// Yes, vichan stores the flag inside the generated HTML. Now you know why it's slow as shit.
|
||||
// English lacks the words to express my feelings about it in a satisfying manner.
|
||||
$flag_acc[] = "CONCAT('%<tinyboard>', :flag$i, '</tinyboard>%')";
|
||||
$flag_acc[] = "CONCAT('%<tinyboard flag alt>', :flag$i, '</tinyboard>%')";
|
||||
}
|
||||
$where_acc[] = 'body_nomarkup LIKE (' . \implode(' OR ', $flag_acc) . ')';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue