[otrs-cvs] otrs/Kernel/Modules AgentTicketForward.pm, 1.97.2.5, 1.97.2.6

CVS commits notifications of OTRS.org cvs-log at otrs.org
Fri Jun 24 18:36:18 GMT 2011


Comments:
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv11122/Kernel/Modules

Modified Files:
      Tag: rel-3_0
	AgentTicketForward.pm 
Log Message:
Fixed bug#7335 - No empty state selection in AgentTicketForward. Added empty state option.

Author: en

Index: AgentTicketForward.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketForward.pm,v
retrieving revision 1.97.2.5
retrieving revision 1.97.2.6
diff -2 -u -d -r1.97.2.5 -r1.97.2.6
--- AgentTicketForward.pm	17 Jun 2011 12:01:49 -0000	1.97.2.5
+++ AgentTicketForward.pm	24 Jun 2011 18:36:13 -0000	1.97.2.6
@@ -1007,4 +1007,9 @@
     my ( $Self, %Param ) = @_;
 
+    # add none selection to the list
+    if ( !$Self->{Config}->{StateDefault} ) {
+        $Param{NextStates}->{''} = '-';
+    }
+
     # build next states string
     my %State;


More information about the cvs-log mailing list