[freeside-commits] freeside/FS/FS/part_pkg flat.pm,1.34,1.34.2.1
Ivan,,,
ivan at wavetail.420.am
Sun Oct 25 18:11:56 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv23872
Modified Files:
Tag: FREESIDE_1_9_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.34
retrieving revision 1.34.2.1
diff -u -d -r1.34 -r1.34.2.1
--- flat.pm 5 Aug 2009 23:34:28 -0000 1.34
+++ flat.pm 26 Oct 2009 01:11:54 -0000 1.34.2.1
@@ -223,7 +223,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