summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-05-08 13:56:17 +0200
committerRemi Collet <fedora@famillecollet.com>2013-05-08 13:56:17 +0200
commit267655746e046f63a26cba2c57439fd9469db51a (patch)
tree01835c4629cb6ee3f83ea5d665b47e962392d03f
parentb16681dcf55114eed548021641a7c7794ce8e334 (diff)
fix state icon when same version in base / testing
-rw-r--r--rpm.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm.php b/rpm.php
index b8d8b46..defd172 100644
--- a/rpm.php
+++ b/rpm.php
@@ -205,7 +205,7 @@ function report($db, $type)
$rpm['rel'],
$repo['sub']
);
- if ( $verup==$verpm ) {
+ if ($verup==$verpm && $class!='check') {
$class="check";
}
break;
@@ -216,7 +216,7 @@ function report($db, $type)
$rpm['rel'],
$repo['sub']
);
- if ( $verup==$verpm ) {
+ if ($verup==$verpm && !$class) {
$class="info";
}
break;