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 {
#
# Accounting modules
#
if (ref($config{'accounting'}{'module_list'}) eq "ARRAY") {
foreach my $module (@{$config{'accounting'}{'module_list'}}) {
if (ref($config{'accounting'}{'modules'}) eq "ARRAY") {
foreach my $module (@{$config{'accounting'}{'modules'}}) {
$module =~ s/\s+//g;
# Skip comments
next if ($module =~ /^#/);
......@@ -264,7 +264,7 @@ sub configure {
push(@{$cfg->{'module_list'}},$module);
}
} else {
my @moduleList = split(/\s+/,$config{'accounting'}{'module_list'});
my @moduleList = split(/\s+/,$config{'accounting'}{'modules'});
foreach my $module (@moduleList) {
# Skip comments
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