This commit is contained in:
Shish
2020-01-26 16:38:26 +00:00
parent 60dda96fd2
commit 3631084afd
25 changed files with 105 additions and 55 deletions

View File

@ -250,7 +250,9 @@ class Ratings extends Extension
{
global $user;
if(is_null($event->term)) return;
if (is_null($event->term)) {
return;
}
$matches = [];
if (is_null($event->term) && $this->no_rating_query($event->context)) {