summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-06-02 20:43:16 +0000
committerivan <ivan>2011-06-02 20:43:16 +0000
commit388bf457ea3c55528a916255a7f47875cc0a65aa (patch)
treef06abb54ef4d9eee4d62f4e13ea4fdc236ae8980
parent41abe2e64b74118b87c24a23f12861bb6ea485b4 (diff)
fix use of uninitialized value in lc() error in 5.12
-rw-r--r--FS/FS/cdr.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm
index 0107659a8..e7b6e6cd3 100644
--- a/FS/FS/cdr.pm
+++ b/FS/FS/cdr.pm
@@ -911,7 +911,7 @@ my %import_options = (
},
#drop the || 'csv' to allow auto xls for csv types?
- 'format_types' => { map { $_ => ( lc($cdr_info{$_}->{'type'}) || 'csv' ); }
+ 'format_types' => { map { $_ => lc($cdr_info{$_}->{'type'} || 'csv'); }
keys %cdr_info
},