From 3914680ee7b8382f88082e65dbda57a6a7afa7d4 Mon Sep 17 00:00:00 2001 From: jayce Date: Wed, 10 Oct 2007 20:52:12 +0000 Subject: [PATCH] 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. --- FS/FS/cust_main.pm | 1 + 1 file changed, 1 insertion(+) 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 != '' ". -- 2.11.0