From ebe40754697ece1d8577b2e70de5017a586b5a09 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 29 Sep 2019 14:43:47 +0100 Subject: [PATCH] formatting --- themes/danbooru2/view.theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;