]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 312150: Some routines are not exported in Bugzilla/Config/Common.pm - Patch by...
authorlpsolit%gmail.com <>
Wed, 12 Oct 2005 22:15:06 +0000 (22:15 +0000)
committerlpsolit%gmail.com <>
Wed, 12 Oct 2005 22:15:06 +0000 (22:15 +0000)
Bugzilla/Config/Common.pm
editparams.cgi

index 721651830d531e6dd2476b6e9705513dc5299862..c87e2f713d29ad7e602d97b42a43e88c7461e8a2 100644 (file)
@@ -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
index 4b1db455bbc137cb9c501af91bc7c098a2588d6b..9efd30f2ce11ce4ef2663cf57dce07eadf099129 100755 (executable)
@@ -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,