From: lpsolit%gmail.com <> Date: Wed, 12 Oct 2005 22:15:06 +0000 (+0000) Subject: Bug 312150: Some routines are not exported in Bugzilla/Config/Common.pm - Patch by... X-Git-Tag: bugzilla-2.22rc1~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85f8adcafb46ad3210c9f6f32ddf0a04d0c6bbb0;p=thirdparty%2Fbugzilla.git Bug 312150: Some routines are not exported in Bugzilla/Config/Common.pm - Patch by Frédéric Buclin r=joel a=justdave --- diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index 721651830d..c87e2f713d 100644 --- a/Bugzilla/Config/Common.pm +++ b/Bugzilla/Config/Common.pm @@ -60,7 +60,8 @@ use Bugzilla::Constants; use base qw(Exporter); @Bugzilla::Config::Common::EXPORT = - qw(check_sslbase check_priority check_severity check_platform + qw(check_multi check_numeric check_regexp + check_sslbase check_priority check_severity check_platform check_opsys check_shadowdb check_urlbase check_webdotbase check_netmask check_user_verify_class check_image_converter check_languages check_mail_delivery_method diff --git a/editparams.cgi b/editparams.cgi index 4b1db455bb..9efd30f2ce 100755 --- a/editparams.cgi +++ b/editparams.cgi @@ -27,6 +27,7 @@ use lib "."; use Bugzilla::Constants; use Bugzilla::Config qw(:DEFAULT :admin :params $datadir); +use Bugzilla::Config::Common; require "globals.pl"; use vars qw($vars @parampanels); @@ -51,6 +52,7 @@ my $current_module; my @panels = (); foreach my $panel (@parampanels) { next if ($panel eq 'Common'); + require "Bugzilla/Config/$panel.pm"; my @module_param_list = "Bugzilla::Config::${panel}"->get_param_list(); my $item = { name => lc($panel), current => ($current_panel eq lc($panel)) ? 1 : 0,