[freeside-commits] freeside/FS/FS/part_pkg flat.pm, 1.13.2.16, 1.13.2.17
Ivan,,,
ivan at wavetail.420.am
Sun Oct 25 18:11:57 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv23881
Modified Files:
Tag: FREESIDE_1_7_BRANCH
flat.pm
Log Message:
eliminiate noisy but harmless "Use of uninitialized value in numeric gt (>)" warning
Index: flat.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/flat.pm,v
retrieving revision 1.13.2.16
retrieving revision 1.13.2.17
diff -u -d -r1.13.2.16 -r1.13.2.17
--- flat.pm 5 Aug 2009 23:34:37 -0000 1.13.2.16
+++ flat.pm 26 Oct 2009 01:11:55 -0000 1.13.2.17
@@ -215,7 +215,7 @@
sub reset_usage {
my($self, $cust_pkg, %opt) = @_;
- warn " resetting usage counters" if $opt{debug} > 1;
+ warn " resetting usage counters" if defined($opt{debug}) && $opt{debug} > 1;
my %values = $self->usage_valuehash;
if ($self->option('usage_rollover', 1)) {
$cust_pkg->recharge(\%values);
More information about the freeside-commits
mailing list