[freeside-commits] freeside/FS/FS cdr.pm,1.66.2.6,1.66.2.7

Ivan,,, ivan at wavetail.420.am
Thu Jun 2 13:43:18 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv29487

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	cdr.pm 
Log Message:
fix use of uninitialized value in lc() error in 5.12

Index: cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr.pm,v
retrieving revision 1.66.2.6
retrieving revision 1.66.2.7
diff -u -w -d -r1.66.2.6 -r1.66.2.7
--- cdr.pm	5 May 2011 06:53:37 -0000	1.66.2.6
+++ cdr.pm	2 Jun 2011 20:43:16 -0000	1.66.2.7
@@ -911,7 +911,7 @@
                },
 
                           #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
                     },
 



More information about the freeside-commits mailing list