Skip to content

Commit

Permalink
Not a hashref
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Jul 28, 2017
1 parent 3315e17 commit d5bbd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Virtualmin/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ sub run {
for (@plugins) {
my $pkg = "Virtualmin::Config::Plugin::$_";
load $pkg || die "Loading Plugin failed: $_";
my $plugin = $pkg->new({total => $total});
my $plugin = $pkg->new(total => $total);
$plugin->actions();
if ($self->{test} && $plugin->can('tests')) {
$plugin->tests();
Expand Down

0 comments on commit d5bbd9c

Please sign in to comment.