[Rt-commit] rtir branch, 2.6-trunk, updated. 2.6.1-16-g0ba865f

Kevin Falcone falcone at bestpractical.com
Wed Jul 11 17:15:19 EDT 2012


The branch, 2.6-trunk has been updated
       via  0ba865f978fe105082bba1deeef732fa21b2d98b (commit)
      from  318135fb5d9e198b41acb6c4415590a3758062da (commit)

Summary of changes:
 lib/RT/Action/RTIR_SetHowReported.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 0ba865f978fe105082bba1deeef732fa21b2d98b
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Jul 11 17:14:17 2012 -0400

    This CF was renamed during the 2.4->2.6 update
    
    Load the correct CF so we can set it to Email if nothing was set.
    Reported by Michal Wodzinski

diff --git a/lib/RT/Action/RTIR_SetHowReported.pm b/lib/RT/Action/RTIR_SetHowReported.pm
index e364450..b52d412 100644
--- a/lib/RT/Action/RTIR_SetHowReported.pm
+++ b/lib/RT/Action/RTIR_SetHowReported.pm
@@ -73,7 +73,7 @@ sub Commit {
     my $self = shift;
 
     my $cf = RT::CustomField->new($self->TransactionObj->CurrentUser);
-    $cf->LoadByNameAndQueue(Queue => $self->TicketObj->QueueObj->Id, Name => 'HowReported');
+    $cf->LoadByNameAndQueue(Queue => $self->TicketObj->QueueObj->Id, Name => 'How Reported');
     return unless $cf->Id;
 
     my $Values = $self->TicketObj->CustomFieldValues( $cf->id );

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


More information about the Rt-commit mailing list