[otrs-cvs] otrs/Kernel/System PostMaster.pm,1.92,1.93

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv10943/Kernel/System

Modified Files:
	PostMaster.pm 
Log Message:
 - 2013-02-02 Fixed bug#9108 - Check for opened/closed tickets not working with Ticket::SubjectFormat = Right.

Author: mg

Index: PostMaster.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/PostMaster.pm,v
retrieving revision 1.92
retrieving revision 1.93
diff -2 -u -d -r1.92 -r1.93
--- PostMaster.pm	20 Nov 2012 15:37:12 -0000	1.92
+++ PostMaster.pm	4 Feb 2013 10:29:19 -0000	1.93
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/PostMaster.pm - the global PostMaster module for OTRS
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -313,4 +313,14 @@
                 $Param{QueueID} = $TQueueID;
             }
+
+            # Clean out the old TicketNumber from the subject (see bug#9180).
+            # This avoids false ticket number detection on customer replies.
+            if ( $GetParam->{Subject} ) {
+                $GetParam->{Subject} = $Self->{TicketObject}->TicketSubjectClean(
+                    TicketNumber => $Tn,
+                    Subject      => $GetParam->{Subject},
+                );
+            }
+
             $TicketID = $Self->{NewTicket}->Run(
                 InmailUserID     => $Self->{PostmasterUserID},
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.