diff options
author | jeff <jeff> | 2007-04-13 00:55:19 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-04-13 00:55:19 +0000 |
commit | e7d2693faa149040935210b2f5ae4b4f85ceafd5 (patch) | |
tree | 9e967f00167c812c4b739e02fc58ca10901ee2d7 | |
parent | 4fae6196a7d09b7b1db79758a0b9fbf9040d4bc7 (diff) |
correct boneheaded afterthoughts
-rw-r--r-- | FS/FS/svc_acct.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 8cb8f5b91..338a1a926 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -1582,7 +1582,7 @@ sub _op_usage { if ( &{$op2condition{$op}}($self, $column, $amount) ) { foreach my $part_export ( $self->cust_svc->part_svc->part_export ) { - if ($part_export->option('overlimit_groups'), 1) { + if ($part_export->option('overlimit_groups')) { my ($new,$old); my $other = new FS::svc_acct $self->hashref; my $groups = &{ $self->_fieldhandlers->{'usergroup'} } @@ -1705,7 +1705,7 @@ sub set_usage { my $error = $self->overlimit('unsuspend'); foreach my $part_export ( $self->cust_svc->part_svc->part_export ) { - if ($part_export->option('overlimit_groups'), 1) { + if ($part_export->option('overlimit_groups')) { my $old = new FS::svc_acct $self->hashref; my $groups = &{ $self->_fieldhandlers->{'usergroup'} } ($self, $part_export->option('overlimit_groups')); |