]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 449511: get_param_list() takes no argument - Patch by Frédéric Buclin <LpSolit...
authorlpsolit%gmail.com <>
Fri, 22 Aug 2008 21:02:45 +0000 (21:02 +0000)
committerlpsolit%gmail.com <>
Fri, 22 Aug 2008 21:02:45 +0000 (21:02 +0000)
editparams.cgi

index 9b0094799362961dc698b20f076ed28b9f95f48d..2fd30e9445d509991456ae6e86ded43d47546d22 100755 (executable)
@@ -61,7 +61,7 @@ my $param_panels = Bugzilla::Config::param_panels();
 foreach my $panel (keys %$param_panels) {
     my $module = $param_panels->{$panel};
     eval("require $module") || die $@;
-    my @module_param_list = "$module"->get_param_list(1);
+    my @module_param_list = "$module"->get_param_list();
     my $item = { name => lc($panel),
                  current => ($current_panel eq lc($panel)) ? 1 : 0,
                  param_list => \@module_param_list,
@@ -76,7 +76,7 @@ $vars->{panels} = \@panels;
 if ($action eq 'save' && $current_module) {
     check_token_data($token, 'edit_parameters');
     my @changes = ();
-    my @module_param_list = "$param_panels->{$current_module}"->get_param_list(1);
+    my @module_param_list = "$param_panels->{$current_module}"->get_param_list();
 
     foreach my $i (@module_param_list) {
         my $name = $i->{'name'};