From 7638866df0e84cae1e17f2bab563faafc9cc2eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 9 Dec 2006 15:56:56 +0000 Subject: [PATCH] Make sure that a version without a maintainer rating is not displayed with the colour of the previous version. --- include/version.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/version.php b/include/version.php index 16bd7a4..642b49c 100644 --- a/include/version.php +++ b/include/version.php @@ -930,6 +930,8 @@ class Version { if($oVersion->sTestedRating && $oVersion->sTestedRating != "/") $sRatingColor = "class=\"$oVersion->sTestedRating\""; + else + $sRatingColor = "class=\"$bgcolor\""; //display row echo "\n";