diff options
author | ivan <ivan> | 2011-04-11 17:44:07 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-11 17:44:07 +0000 |
commit | 32435aafaa39dad97a95c619d1649b3be22ffb1e (patch) | |
tree | 3cf5e504082becd004b11904293da1de94765a67 | |
parent | c5f232552b9cdd44d34f95ebcb3f3cf714cfc37a (diff) |
fix "times" condition to not run one extra, RT#11834
-rw-r--r-- | FS/FS/part_event/Condition/times.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_event/Condition/times.pm b/FS/FS/part_event/Condition/times.pm index 46c2967bc..14ff23b9d 100644 --- a/FS/FS/part_event/Condition/times.pm +++ b/FS/FS/part_event/Condition/times.pm @@ -34,7 +34,7 @@ sub condition { ), } ); - scalar(@existing) <= $self->option('run_times'); + scalar(@existing) < $self->option('run_times'); } @@ -52,7 +52,7 @@ sub condition_sql { AND status != 'failed' )"; - "$existing <= $run_times"; + "$existing < $run_times"; } |