From f03cb21e297f73fcfca9740ff8e2c525a745d7ad Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 29 Oct 2015 22:19:57 +0000 Subject: Bug 1219949 - Invalid version format (non-numeric data) error when bugzilla_version param is empty and 4.2+ is returned as default value --- Bugzilla/Constants.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Constants.pm') 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; } -- cgit v1.2.3-24-g4f1b