Should fix an old bug/feature request to allow "0" as a value in extra sections, see https://sourceforge.net/p/awstats/bugs/756/
3
);
}
- delete $hashforselect->{0};
delete $hashforselect->{ ''
}; # Those is to protect from infinite loop when hash array has an incorrect null key
my $count = 0;
}
}
if ( !$rowkeyok ) { next; } # End for this section
- if ( !$rowkeyval ) { $rowkeyval = 'Failed to extract key'; }
+ if ( !defined($rowkeyval) ) { $rowkeyval = 'Failed to extract key'; }
if ($Debug) { debug( " Key val found: $rowkeyval", 5 ); }
# Apply function on $rowkeyval