From: jayce Date: Wed, 10 Oct 2007 20:52:12 +0000 (+0000) Subject: With this line missing, cust_event objects would not fully create (eventpart wasn... X-Git-Tag: TRIXBOX_2_6~274 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=3914680ee7b8382f88082e65dbda57a6a7afa7d4;p=freeside.git 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. --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index bf827a3ed..1195083fc 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -2819,6 +2819,7 @@ sub retry_realtime { 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 != '' ".