[Rt-commit] rtir branch, 2.9-trunk, updated. 3.0.0rc1-47-gf9dd471

Kevin Falcone falcone at bestpractical.com
Wed Apr 10 11:05:58 EDT 2013


The branch, 2.9-trunk has been updated
       via  f9dd471f8f97dfff371ed7ea47f255134e707fe2 (commit)
      from  c74c50208991c2da47876c9f0c1b2dac6469b67c (commit)

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

- Log -----------------------------------------------------------------
commit f9dd471f8f97dfff371ed7ea47f255134e707fe2
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
    (cherry picked from commit 0ba865f978fe105082bba1deeef732fa21b2d98b)

diff --git a/lib/RT/Action/RTIR_SetHowReported.pm b/lib/RT/Action/RTIR_SetHowReported.pm
index 6769094..1399e2e 100644
--- a/lib/RT/Action/RTIR_SetHowReported.pm
+++ b/lib/RT/Action/RTIR_SetHowReported.pm
@@ -61,7 +61,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