diff --git a/themes/danbooru2/view.theme.php b/themes/danbooru2/view.theme.php index ab95cf48..c655ecb6 100644 --- a/themes/danbooru2/view.theme.php +++ b/themes/danbooru2/view.theme.php @@ -51,8 +51,8 @@ class CustomViewImageTheme extends ViewImageTheme if ($image->rating == null || $image->rating == "?") { $image->rating = "?"; } - $h_rating = Ratings::rating_to_human($image->rating); - $html .= "
Rating: $h_rating"; + $h_rating = Ratings::rating_to_human($image->rating); + $html .= "
Rating: $h_rating"; } return $html;