[otrs-cvs] ITSMChangeManagement/Kernel/System/ITSMChange/ITSMWorkOrder/Event WorkOrderNumberCalc.pm, 1.16, 1.17

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

Modified Files:
	WorkOrderNumberCalc.pm 
Log Message:
Fixed event problems due to the removal of lagacy code in Kernel::System::EventHandler where in older OTRS versions the param hash was poluted with the data hash. The data hash must now always be a seperate parameter in an event.

Author: ub

Index: WorkOrderNumberCalc.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange/ITSMWorkOrder/Event/WorkOrderNumberCalc.pm,v
retrieving revision 1.16
retrieving revision 1.17
diff -2 -u -d -r1.16 -r1.17
--- WorkOrderNumberCalc.pm	22 Oct 2012 20:51:28 -0000	1.16
+++ WorkOrderNumberCalc.pm	22 Nov 2012 08:47:47 -0000	1.17
@@ -154,5 +154,5 @@
         # the ChangeID is in the OldWorkOrderData so we do not need to make a WorkOrderGet() here
         return if !$Self->_WorkOrderNumberCalc(
-            ChangeID => $Param{OldWorkOrderData}->{ChangeID},
+            ChangeID => $Param{Data}->{OldWorkOrderData}->{ChangeID},
             UserID   => $Param{UserID},
         );
---------------------------------------------------------------------
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.