projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a3fdd
)
fix harmless but noisy "Use of uninitialized value $date_style in string eq" warning
author
ivan
<ivan>
Sun, 12 Feb 2012 02:40:26 +0000
(
02:40
+0000)
committer
ivan
<ivan>
Sun, 12 Feb 2012 02:40:26 +0000
(
02:40
+0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
35ce48c
..
bb44c05
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-4993,7
+4993,7
@@
sub _items_cust_bill_pkg {
) {
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).