Make sure that a version without a maintainer rating is not displayed with the
colour of the previous version.
This commit is contained in:
committed by
WineHQ
parent
8786673db6
commit
7638866df0
@@ -930,6 +930,8 @@ class Version {
|
|||||||
|
|
||||||
if($oVersion->sTestedRating && $oVersion->sTestedRating != "/")
|
if($oVersion->sTestedRating && $oVersion->sTestedRating != "/")
|
||||||
$sRatingColor = "class=\"$oVersion->sTestedRating\"";
|
$sRatingColor = "class=\"$oVersion->sTestedRating\"";
|
||||||
|
else
|
||||||
|
$sRatingColor = "class=\"$bgcolor\"";
|
||||||
|
|
||||||
//display row
|
//display row
|
||||||
echo "<tr class=$bgcolor>\n";
|
echo "<tr class=$bgcolor>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user