[freeside-commits] freeside/FS/FS cust_bill.pm, 1.350.2.19, 1.350.2.20
Ivan,,,
ivan at wavetail.420.am
Sat Feb 11 18:40:25 PST 2012
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv24483
Modified Files:
Tag: FREESIDE_2_3_BRANCH
cust_bill.pm
Log Message:
fix harmless but noisy "Use of uninitialized value $date_style in string eq" warning
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.350.2.19
retrieving revision 1.350.2.20
diff -u -w -d -r1.350.2.19 -r1.350.2.20
--- cust_bill.pm 15 Jan 2012 02:18:31 -0000 1.350.2.19
+++ cust_bill.pm 12 Feb 2012 02:40:22 -0000 1.350.2.20
@@ -4993,7 +4993,7 @@
) {
my $time_period;
my $date_style = $conf->config('cust_bill-line_item-date_style');
- if ( $date_style eq 'month_of' ) {
+ if ( defined($date_style) && $date_style eq 'month_of' ) {
$time_period = time2str('The month of %B', $cust_bill_pkg->sdate);
} else {
$time_period = time2str($date_format, $cust_bill_pkg->sdate).
More information about the freeside-commits
mailing list