diff options
-rw-r--r-- | FS/FS/part_event/Condition/once.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); |