summaryrefslogtreecommitdiffstats
path: root/rpm.php
diff options
context:
space:
mode:
Diffstat (limited to 'rpm.php')
-rw-r--r--rpm.php4
1 files changed, 2 insertions, 2 deletions
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'] .