[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-191-ge4e90f4

Kevin Falcone falcone at bestpractical.com
Thu Nov 11 15:52:51 EST 2010


The branch, 3.8-trunk has been updated
       via  e4e90f46bee6ff3ce1263ae78cb4b8e01e19ea23 (commit)
      from  fb836bf4302a7450beaa1e3d36dc0509fe2119c0 (commit)

Summary of changes:
 lib/RT/Handle.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit e4e90f46bee6ff3ce1263ae78cb4b8e01e19ea23
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Thu Nov 11 15:52:32 2010 -0500

    This prevents you from creating Transaction Custom Fields
    
    It is quite valid to list queues and create a Transaction Custom Field
    you want applied to those queues.

diff --git a/lib/RT/Handle.pm b/lib/RT/Handle.pm
index 18f64a0..f9b04ba 100755
--- a/lib/RT/Handle.pm
+++ b/lib/RT/Handle.pm
@@ -835,7 +835,7 @@ sub InsertData {
             my @queues;
             # if ref then it's list of queues, so we do things ourself
             if ( exists $item->{'Queue'} && ref $item->{'Queue'} ) {
-                $item->{'LookupType'} = 'RT::Queue-RT::Ticket';
+                $item->{'LookupType'} ||= 'RT::Queue-RT::Ticket';
                 @queues = @{ delete $item->{'Queue'} };
             }
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list