named placeholder for rating search
This commit is contained in:
parent
17b5268452
commit
c3aa7f14dd
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class Ratings implements Extension {
|
|||
if(preg_match("/^rating=(safe|questionable|explicit|unknown)$/", strtolower($event->term), $matches)) {
|
||||
$text = $matches[1];
|
||||
$char = $text[0];
|
||||
$event->add_querylet(new Querylet("rating = ?", array($char)));
|
||||
$event->add_querylet(new Querylet("rating = :img_rating", array("img_rating"=>$char)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue