X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FCondition%2Fonce_every.pm;h=ef28078ed52b4500d7a0aed6d1ef360224d5adda;hb=faa774764df03c6f3280177f6adfcd2214995a13;hp=a0d9d6802085d44feb765e61d4ff882393fb4f89;hpb=becc3877b546ffb36d4ce674848d9da51c44153f;p=freeside.git diff --git a/FS/FS/part_event/Condition/once_every.pm b/FS/FS/part_event/Condition/once_every.pm index a0d9d6802..ef28078ed 100644 --- a/FS/FS/part_event/Condition/once_every.pm +++ b/FS/FS/part_event/Condition/once_every.pm @@ -7,7 +7,7 @@ use FS::cust_event; use base qw( FS::part_event::Condition ); -sub description { "Don't run this event more than once in interval"; } +sub description { "Don't run this event more than once in the specified interval"; } # Runs the event at most "once every X". @@ -31,7 +31,7 @@ sub condition { 'eventpart' => $self->eventpart, 'tablenum' => $tablenum, 'status' => { op=>'!=', value=>'failed' }, - '_date' => { op=>'>=', value=>$max_date }, + '_date' => { op=>'>', value=>$max_date }, }, 'extra_sql' => ( $opt{'cust_event'}->eventnum =~ /^(\d+)$/ ? " AND eventnum != $1 "