[Rt-commit] [rtir] 02/03: Missed hardcoded IP on 3.2/merge-ips-on-link

Kevin Falcone falcone at bestpractical.com
Thu Aug 28 20:11:40 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch master
in repository rtir.

commit c5d39b7d7ba9ca4933a4db53de6c5c08d39e210c
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Thu Aug 28 16:01:11 2014 -0500

    Missed hardcoded IP on 3.2/merge-ips-on-link
    
    In e36cfe71 I got almost all the IP out of this, but noticed today when
    using this as a foundation to copy other fields that it had a hardcoded
    IP still.
---
 lib/RT/Action/RTIR.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/RT/Action/RTIR.pm b/lib/RT/Action/RTIR.pm
index 61607ec..096deb0 100644
--- a/lib/RT/Action/RTIR.pm
+++ b/lib/RT/Action/RTIR.pm
@@ -99,7 +99,7 @@ sub CopyCustomFields {
         RT->Logger->error("Couldn't load CF $cf_name on ticket ".$source->Id);
         return;
     }
-    my $add_values = $source->CustomFieldValues( 'IP' );
+    my $add_values = $source->CustomFieldValues( $cf_name );
 
     while ( my $value = $add_values->Next ) {
         my $content = $value->Content;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list