Skip to content

Commit

Permalink
Item13510: Package installer needs $FALSE $TRUE defined
Browse files Browse the repository at this point in the history
Without these defined, it fails to correctly set boolean default values.

Also, missing $reporter passed to LoadSpec
  • Loading branch information
gac410 committed Jul 16, 2015
1 parent 699b3ad commit 7e1f547
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/lib/Foswiki/Configure/Package.pm
Expand Up @@ -47,6 +47,9 @@ use Foswiki::Configure::FileUtil ();
use Foswiki::Configure::Root ();
use Foswiki::Plugins ();

our $FALSE = 0;
our $TRUE = 1;

############# GENERIC METHODS #############

=begin TML
Expand Down Expand Up @@ -973,7 +976,8 @@ sub _install {

# Also load it into the rootspec, so the caller has
# access to the value definition
Foswiki::Configure::LoadSpec::parse( $target, $rootspec );
Foswiki::Configure::LoadSpec::parse( $target, $rootspec,
$reporter );
}
}
$reporter->NOTE("> ${simulated}Installed: $file as $target") if DEBUG;
Expand Down

0 comments on commit 7e1f547

Please sign in to comment.