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";
|
||||
|
||||
# Set up the module argument hash...
|
||||
my %args = { "modid" => $modrow -> {"id"},
|
||||
my %args = ( "modid" => $modrow -> {"id"},
|
||||
"args" => $modarg,
|
||||
"module" => $self,
|
||||
};
|
||||
);
|
||||
foreach my $key (%{$self}) {
|
||||
$args{$key} = $self -> {$key} if(!defined($args{$key}));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user