From 267655746e046f63a26cba2c57439fd9469db51a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 8 May 2013 13:56:17 +0200 Subject: fix state icon when same version in base / testing --- rpm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpm.php') 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; -- cgit