From 243f517f1fa0548b27a33e8a429a780a4a587e88 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 31 Oct 2010 18:30:50 +0100 Subject: fix display version when only unstable exists --- rpm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpm.php') diff --git a/rpm.php b/rpm.php index 93f6308..3b3a2a9 100644 --- a/rpm.php +++ b/rpm.php @@ -135,8 +135,8 @@ function report($db, $type) if ($up['stable']) { $package['upstream_stable'] = $up['stable']; } - if ($up['stable'] - && (!$up['unstable'] + if ($up['unstable'] + && (!$up['stable'] || $up['stable']!=$up['unstable']) ) { $package['upstream_unstable'] = $up['unstable'] . -- cgit