From 2792f36ce487935aa1ad1a0dc252c6bbc9552154 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 7 Apr 2010 06:20:54 +0000 Subject: [PATCH] fix capitalization of RT tables and columns - mysql fix --- FS/FS/TicketSystem/RT_Internal.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm index 52e3922c9..a43b53c3f 100644 --- a/FS/FS/TicketSystem/RT_Internal.pm +++ b/FS/FS/TicketSystem/RT_Internal.pm @@ -15,10 +15,10 @@ $DEBUG = 0; $me = '[FS::TicketSystem::RT_Internal]'; sub sql_num_customer_tickets { - "( select count(*) from tickets - join links on ( tickets.id = links.localbase ) - where ( status = 'new' or status = 'open' or status = 'stalled' ) - and target = 'freeside://freeside/cust_main/' || custnum + "( select count(*) from Tickets + join Links on ( Tickets.id = Links.LocalBase ) + where ( Status = 'new' or Status = 'open' or Status = 'stalled' ) + and Target = 'freeside://freeside/cust_main/' || custnum )"; } -- 2.11.0