X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FCondition%2Fonce.pm;fp=FS%2FFS%2Fpart_event%2FCondition%2Fonce.pm;h=ba3ccbb61151e1ffb566959881090a4288b2894a;hb=84fbfcfd5c664a6c05939b2c79997f16eded5efa;hp=8c24e83ff2de7dde86408c2b41b4d89f9629c58a;hpb=20aa18258aaaa532eace2b3a87bd70f4c3709878;p=freeside.git diff --git a/FS/FS/part_event/Condition/once.pm b/FS/FS/part_event/Condition/once.pm index 8c24e83ff..ba3ccbb61 100644 --- a/FS/FS/part_event/Condition/once.pm +++ b/FS/FS/part_event/Condition/once.pm @@ -24,7 +24,7 @@ sub condition { my @existing = qsearch( 'cust_event', { 'eventpart' => $self->eventpart, 'tablenum' => $tablenum, - 'status' => { op=>'!=', value=>'failed' }, + 'status' => { op=>'NOT IN', value=>"('failed','new')" }, } ); ! scalar(@existing);