[freeside-commits] freeside/FS/FS cust_main.pm,1.314,1.315

Jason Hall jayce at wavetail.420.am
Wed Oct 10 13:52:14 PDT 2007


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv4622

Modified Files:
	cust_main.pm 
Log Message:
With this line missing, cust_event objects would not fully create (eventpart wasn't loading), causing the _X methods to fail on ->part_event.  Only noticed when you retried events that had previously failed.


Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.314
retrieving revision 1.315
diff -u -d -r1.314 -r1.315
--- cust_main.pm	9 Oct 2007 17:57:25 -0000	1.314
+++ cust_main.pm	10 Oct 2007 20:52:12 -0000	1.315
@@ -2819,6 +2819,7 @@
 
   my @cust_event = qsearchs({
     'table'     => 'cust_event',
+    'select'	=> 'cust_event.*',
     'addl_from' => "LEFT JOIN part_event USING ( eventpart ) $join",
     'hashref'   => { 'status' => 'done' },
     'extra_sql' => " AND statustext IS NOT NULL AND statustext != '' ".



More information about the freeside-commits mailing list