Skip to content
Snippets Groups Projects
Commit abf03f20 authored by Robert Anderson's avatar Robert Anderson
Browse files

NK: Fixed wrong configureation tag being used

parent 48d083f4
No related branches found
No related tags found
No related merge requests found
...@@ -255,8 +255,8 @@ sub configure { ...@@ -255,8 +255,8 @@ sub configure {
# #
# Accounting modules # Accounting modules
# #
if (ref($config{'accounting'}{'module_list'}) eq "ARRAY") { if (ref($config{'accounting'}{'modules'}) eq "ARRAY") {
foreach my $module (@{$config{'accounting'}{'module_list'}}) { foreach my $module (@{$config{'accounting'}{'modules'}}) {
$module =~ s/\s+//g; $module =~ s/\s+//g;
# Skip comments # Skip comments
next if ($module =~ /^#/); next if ($module =~ /^#/);
...@@ -264,7 +264,7 @@ sub configure { ...@@ -264,7 +264,7 @@ sub configure {
push(@{$cfg->{'module_list'}},$module); push(@{$cfg->{'module_list'}},$module);
} }
} else { } else {
my @moduleList = split(/\s+/,$config{'accounting'}{'module_list'}); my @moduleList = split(/\s+/,$config{'accounting'}{'modules'});
foreach my $module (@moduleList) { foreach my $module (@moduleList) {
# Skip comments # Skip comments
next if ($module =~ /^#/); next if ($module =~ /^#/);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment