projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0fec35
)
fix "times" condition to not run one extra, RT#11834
author
ivan
<ivan>
Mon, 11 Apr 2011 17:44:06 +0000
(17:44 +0000)
committer
ivan
<ivan>
Mon, 11 Apr 2011 17:44:06 +0000
(17:44 +0000)
FS/FS/part_event/Condition/times.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event/Condition/times.pm
b/FS/FS/part_event/Condition/times.pm
index
46c2967
..
14ff23b
100644
(file)
--- 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";
}