[freeside-commits] freeside/FS/FS svc_acct.pm,1.226,1.227

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


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

Modified Files:
	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.226
retrieving revision 1.227
diff -u -d -r1.226 -r1.227
--- svc_acct.pm	12 Apr 2007 03:16:42 -0000	1.226
+++ svc_acct.pm	13 Apr 2007 00:53:52 -0000	1.227
@@ -1637,7 +1637,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'} }
@@ -1760,7 +1760,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