[freeside-commits] freeside/FS/FS/part_event/Condition once.pm, 1.1, 1.2
Jason Hall
jayce at wavetail.420.am
Wed Sep 26 12:24:43 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition
In directory wavetail:/tmp/cvs-serv6767
Modified Files:
once.pm
Log Message:
Event loop changes after initial creation caused this to never trigger, as the event loop creates a 'NEW' record, as a placeholder. We need to not die from that.
Index: once.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition/once.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- once.pm 1 Aug 2007 22:24:39 -0000 1.1
+++ once.pm 26 Sep 2007 19:24:40 -0000 1.2
@@ -24,7 +24,7 @@
my @existing = qsearch( 'cust_event', {
'eventpart' => $self->eventpart,
'tablenum' => $tablenum,
- 'status' => { op=>'!=', value=>'failed' },
+ 'status' => { op=>'NOT IN', value=>"('failed','new')" },
} );
! scalar(@existing);
More information about the freeside-commits
mailing list