summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Update.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Update.pm b/Bugzilla/Update.pm
index 5d676b460..2bfd959c9 100644
--- a/Bugzilla/Update.pm
+++ b/Bugzilla/Update.pm
@@ -81,6 +81,11 @@ sub get_notifications {
my @release;
if (Bugzilla->params->{'upgrade_notification'} eq 'development_snapshot') {
@release = grep {$_->{'status'} eq 'development'} @releases;
+ # If there is no development snapshot available, then we are in the
+ # process of releasing a release candidate. That's the release we want.
+ unless (scalar(@release)) {
+ @release = grep {$_->{'status'} eq 'release-candidate'} @releases;
+ }
}
elsif (Bugzilla->params->{'upgrade_notification'} eq 'latest_stable_release') {
@release = grep {$_->{'status'} eq 'stable'} @releases;