summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2011-06-02 20:43:15 +0000
committerivan <ivan>2011-06-02 20:43:15 +0000
commitd632cda4e4c3e77d63ce61aae4096e4c81c29b9d (patch)
tree43f4131d828418a508fb92753d6c5978f1ee4f90 /FS
parent573c6c0788fdeb81cf2fede8607b76bf87c20d6a (diff)
fix use of uninitialized value in lc() error in 5.12
Diffstat (limited to 'FS')
-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
},