diff options
Diffstat (limited to 'lib/Asterisk/config.pm')
-rw-r--r-- | lib/Asterisk/config.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Asterisk/config.pm b/lib/Asterisk/config.pm index 1943691..2bdd7e8 100644 --- a/lib/Asterisk/config.pm +++ b/lib/Asterisk/config.pm @@ -520,7 +520,7 @@ my $data = shift; my $class_self = shift; my @NEW; - if ($one_case->{'section'} eq '') { + if ((not exists $one_case->{'section'}) || ($one_case->{'section'} eq '')) { #Append data head of source data/foot of source data if ($one_case->{'point'} eq 'up') { push(@NEW,&_format_convert($one_case->{'data'}),@$data); |