Skip to content

Commit

Permalink
Item12952: missing param
Browse files Browse the repository at this point in the history
  • Loading branch information
crawford authored and gac410 committed Sep 12, 2014
1 parent 670ac4e commit 2195822
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Foswiki/Plugins/ConfigurePlugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ sub changecfg {
my $root = _loadSpec();
_addSpecDefaultsToCfg( $root, \%Foswiki::cfg );

_getSetParams($params);
_getSetParams( $params, $root );

if ($purge) {
$purged = _purgecfg($root);
Expand Down Expand Up @@ -884,14 +884,14 @@ sub wizard {
my $params = shift;

my $target;
my $root = _loadSpec();
if ( defined $params->{wizard} ) {
die unless $params->{wizard} =~ /^(\w+)$/; # untaint
$target = Foswiki::Configure::Wizard::loadWizard( $1, $params );
}
else {
die unless $params->{keys};
my $root = _loadSpec();
my $vob = $root->getValueObject( $params->{keys} );
my $vob = $root->getValueObject( $params->{keys} );
$target = Foswiki::Configure::Checker::loadChecker($vob);
}
die unless $target;
Expand All @@ -900,7 +900,7 @@ sub wizard {
$method = $1; # untaint
my $reporter = Foswiki::Configure::Reporter->new();

_getSetParams($params);
_getSetParams( $params, $root );

$target->$method($reporter);

Expand Down

0 comments on commit 2195822

Please sign in to comment.