Skip to content

Commit

Permalink
Item13603: Report output from checkers
Browse files Browse the repository at this point in the history
When Configure::Query is called with a reporter, it's not used.
  • Loading branch information
gac410 committed Aug 4, 2015
1 parent a673dfa commit 942193b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Foswiki/Configure/Query.pm
Expand Up @@ -319,7 +319,8 @@ sub check_current_value {

my @report;

my $reporter = Foswiki::Configure::Reporter->new();
# If passed a reporter, use it, otherwise create a new one.
my $reporter = ($frep) ? $frep : Foswiki::Configure::Reporter->new();

# Apply "set" values to $Foswiki::cfg
eval { _getSetParams( $params, $root, $frep ); };
Expand Down

0 comments on commit 942193b

Please sign in to comment.