[freeside-commits] freeside/FS/FS/part_event/Condition times.pm, 1.1.2.5, 1.1.2.6

Ivan,,, ivan at wavetail.420.am
Mon Apr 11 10:44:09 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition
In directory wavetail.420.am:/tmp/cvs-serv15798

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	times.pm 
Log Message:
fix "times" condition to not run one extra, RT#11834

Index: times.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition/times.pm,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -w -d -r1.1.2.5 -r1.1.2.6
--- times.pm	11 Apr 2011 17:22:38 -0000	1.1.2.5
+++ times.pm	11 Apr 2011 17:44:07 -0000	1.1.2.6
@@ -34,7 +34,7 @@
                    ),
   } );
 
-  scalar(@existing) <= $self->option('run_times');
+  scalar(@existing) < $self->option('run_times');
 
 }
 
@@ -52,7 +52,7 @@
                         AND status != 'failed'
                   )";
 
-  "$existing <= $run_times";
+  "$existing < $run_times";
 
 }
 



More information about the freeside-commits mailing list