[freeside-commits] freeside/FS/FS svc_acct.pm,1.217.2.6,1.217.2.7

Jeff Finucane,420,, jeff at wavetail.420.am
Thu Apr 12 17:55:21 PDT 2007


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv27845

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	svc_acct.pm 
Log Message:
correct boneheaded afterthoughts

Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.217.2.6
retrieving revision 1.217.2.7
diff -u -d -r1.217.2.6 -r1.217.2.7
--- svc_acct.pm	12 Apr 2007 03:18:24 -0000	1.217.2.6
+++ svc_acct.pm	13 Apr 2007 00:55:19 -0000	1.217.2.7
@@ -1582,7 +1582,7 @@
 
   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 @@
     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'));



More information about the freeside-commits mailing list