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 --- zoom.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zoom.php') 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) { -- cgit