summaryrefslogtreecommitdiffstats
path: root/zoom.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-10-31 18:30:50 +0100
committerRemi Collet <fedora@famillecollet.com>2010-10-31 18:30:50 +0100
commit243f517f1fa0548b27a33e8a429a780a4a587e88 (patch)
tree1be86f56705a817ee8c3d41e0f07294897abaa1a /zoom.php
parentefc4cbd224958735e5673507c2acd4efe43ffc65 (diff)
fix display version when only unstable exists
Diffstat (limited to 'zoom.php')
-rw-r--r--zoom.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/zoom.php b/zoom.php
index 56e8e8c..b71a044 100644
--- a/zoom.php
+++ b/zoom.php
@@ -142,12 +142,13 @@ if ( !isset($name) || !$name ) {
if ($up && $up['stable']) {
$summary['Stabe version'] = $up['stable'];
}
- if ($up && $up['stable'] && $up['stable']!=$up['unstable']) {
+ if ($up && $up['unstable'] && $up['stable']!=$up['unstable']) {
$summary['Unstable version'] = $up['unstable'];
if ($up['state']) {
$summary['Unstable version'] .= ' (' . $up['state'] . ')';
}
}
+
if ($owner && $owner->owner) {
$summary['Owner'] = $owner->owner;
if ($owner->cc) {