any search for a rating will override the default

This commit is contained in:
Shish 2009-08-02 09:24:37 +01:00
parent f44634b67d
commit 5a8bcad72c

View File

@ -135,7 +135,7 @@ class Ratings implements Extension {
private function no_rating_query($context) { private function no_rating_query($context) {
foreach($context as $term) { foreach($context as $term) {
if(preg_match("/^rating=([sqeu]+)$/", $term)) { if(preg_match("/^rating=/", $term)) {
return false; return false;
} }
} }