[freeside-commits] freeside/FS/FS cust_pkg.pm,1.214,1.215
Ivan,,,
ivan at wavetail.420.am
Fri Sep 9 14:33:34 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv31146
Modified Files:
cust_pkg.pm
Log Message:
silence warnings about free_days
Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -w -d -r1.214 -r1.215
--- cust_pkg.pm 18 Aug 2011 23:43:38 -0000 1.214
+++ cust_pkg.pm 9 Sep 2011 21:33:31 -0000 1.215
@@ -283,7 +283,7 @@
}
}
- my $free_days = $part_pkg->option('free_days');
+ my $free_days = $part_pkg->option('free_days',1);
if ( $free_days && $part_pkg->option('delay_setup',1) ) { #&& !$self->start_date
my ($mday,$mon,$year) = (localtime(time) )[3,4,5];
#my $start_date = ($self->start_date || timelocal(0,0,0,$mday,$mon,$year)) + 86400 * $free_days;
More information about the freeside-commits
mailing list