[otrs-cvs] otrs/Kernel/System PostMaster.pm,1.87.2.2,1.87.2.3
"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-serv10970/Kernel/System
Modified Files:
Tag: rel-3_1
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.87.2.2
retrieving revision 1.87.2.3
diff -2 -u -d -r1.87.2.2 -r1.87.2.3
--- PostMaster.pm 20 Jul 2012 05:48:57 -0000 1.87.2.2
+++ PostMaster.pm 4 Feb 2013 10:29:29 -0000 1.87.2.3
@@ -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