Incorrect argument hash type, argh.
This commit is contained in:
parent
666c8b5759
commit
9d30680c2c
@ -187,10 +187,10 @@ sub _new_module_internal {
|
|||||||
require "$name.pm";
|
require "$name.pm";
|
||||||
|
|
||||||
# Set up the module argument hash...
|
# Set up the module argument hash...
|
||||||
my %args = { "modid" => $modrow -> {"id"},
|
my %args = ( "modid" => $modrow -> {"id"},
|
||||||
"args" => $modarg,
|
"args" => $modarg,
|
||||||
"module" => $self,
|
"module" => $self,
|
||||||
};
|
);
|
||||||
foreach my $key (%{$self}) {
|
foreach my $key (%{$self}) {
|
||||||
$args{$key} = $self -> {$key} if(!defined($args{$key}));
|
$args{$key} = $self -> {$key} if(!defined($args{$key}));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user