diff options
author | jeff <jeff> | 2007-04-13 00:53:52 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-04-13 00:53:52 +0000 |
commit | 9d658b03441384be42de580d64fefcfb43b16fd2 (patch) | |
tree | 57f903b01dee5a4c4ee703c7b781b6e9d46e4686 /FS | |
parent | 0dd05e9ff98263d2d42b419b1e278a5a3bc594b2 (diff) |
correct boneheaded afterthoughts
Diffstat (limited to 'FS')
-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 be5a6d35e..a24491964 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -1637,7 +1637,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'} } @@ -1760,7 +1760,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')); |