[Rt-commit] r12294 - in rt/branches/3.6-RELEASE: .

elacour at bestpractical.com elacour at bestpractical.com
Tue May 13 09:16:19 EDT 2008


Author: elacour
Date: Tue May 13 09:16:19 2008
New Revision: 12294

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/lib/RT/Ticket_Overlay.pm

Log:
 r8796 at datura:  manu | 2008-05-13 15:16:03 +0200
 RT-Ticket: 7144
 RT-Status: resolved
 RT-Update: correspond
 
 replace head->set by head->replace as "set" is deprecated (and call "replace"
 without midification) in MIME::Head since 1998 at least ;)


Modified: rt/branches/3.6-RELEASE/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Ticket_Overlay.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/Ticket_Overlay.pm	Tue May 13 09:16:19 2008
@@ -2418,7 +2418,7 @@
     unless ( ($args{'MIMEObj'}->head->get('Message-ID') || '')
             =~ /<(rt-.*?-\d+-\d+)\.(\d+-0-0)\@\Q$RT::Organization>/ )
     {
-        $args{'MIMEObj'}->head->set( 'RT-Message-ID',
+        $args{'MIMEObj'}->head->replace( 'RT-Message-ID',
             "<rt-"
             . $RT::VERSION . "-"
             . $$ . "-"


More information about the Rt-commit mailing list