summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-10-29 23:19:57 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-10-29 23:19:57 +0100
commitf03cb21e297f73fcfca9740ff8e2c525a745d7ad (patch)
tree87f00672259f47c0032f9ea635b67a6fb87ccdc1
parentb6d9211091e8d35f638b67b2b25fb3b00fb93134 (diff)
downloadbugzilla-f03cb21e297f73fcfca9740ff8e2c525a745d7ad.tar.gz
bugzilla-f03cb21e297f73fcfca9740ff8e2c525a745d7ad.tar.xz
Bug 1219949 - Invalid version format (non-numeric data) error when bugzilla_version param is empty and 4.2+ is returned as default value
-rw-r--r--Bugzilla/Constants.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 2fd6a23b1..cfa2be909 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -226,7 +226,7 @@ use Memoize;
# BMO: we don't map exactly to a specific bugzilla version, so override our
# reported version with a parameter.
sub BUGZILLA_VERSION {
- my $bugzilla_version = '4.2+';
+ my $bugzilla_version = '4.2';
eval { require Bugzilla } || return $bugzilla_version;
return Bugzilla->params->{bugzilla_version} || $bugzilla_version;
}