Make sure that a version without a maintainer rating is not displayed with the

colour of the previous version.
This commit is contained in:
Alexander Nicolaysen Sørnes
2006-12-09 15:56:56 +00:00
committed by WineHQ
parent 8786673db6
commit 7638866df0

View File

@@ -930,6 +930,8 @@ class Version {
if($oVersion->sTestedRating && $oVersion->sTestedRating != "/")
$sRatingColor = "class=\"$oVersion->sTestedRating\"";
else
$sRatingColor = "class=\"$bgcolor\"";
//display row
echo "<tr class=$bgcolor>\n";