diff --git a/Kernel/Modules/AgentTicketEmail.pm b/Kernel/Modules/AgentTicketEmail.pm index 6324dfc..60f8866 100644 --- a/Kernel/Modules/AgentTicketEmail.pm +++ b/Kernel/Modules/AgentTicketEmail.pm @@ -801,6 +801,7 @@ sub Run { # set simple IDs to pass them to the mask for my $SplitedParam (qw(TypeID ServiceID SLAID PriorityID)) { $SplitTicketParam{$SplitedParam} = $SplitTicketData{$SplitedParam}; + $GetParam{$SplitedParam} = $GetParam{$SplitedParam} // $SplitTicketData{$SplitedParam}; } # set StateID as NextStateID @@ -1304,6 +1305,7 @@ sub Run { CustomerData => \%CustomerData, Attachments => \@Attachments, LinkTicketID => $GetParam{LinkTicketID} || '', + %SplitTicketParam, DynamicFieldHTML => \%DynamicFieldHTML, HideAutoselected => $HideAutoselectedJSON, Visibility => $DynFieldStates{Visibility}, diff --git a/Kernel/Modules/AgentTicketPhone.pm b/Kernel/Modules/AgentTicketPhone.pm index 0a23ae3..5689018 100644 --- a/Kernel/Modules/AgentTicketPhone.pm +++ b/Kernel/Modules/AgentTicketPhone.pm @@ -698,6 +698,7 @@ sub Run { # set simple IDs to pass them to the mask for my $SplitedParam (qw(TypeID ServiceID SLAID PriorityID)) { $SplitTicketParam{$SplitedParam} = $SplitTicketData{$SplitedParam}; + $GetParam{$SplitedParam} = $GetParam{$SplitedParam} // $SplitTicketData{$SplitedParam}; } # set StateID as NextStateID @@ -1154,6 +1155,7 @@ sub Run { Attachments => \@Attachments, LinkTicketID => $GetParam{LinkTicketID} || '', FromChatID => $GetParam{FromChatID} || '', + %SplitTicketParam, DynamicFieldHTML => \%DynamicFieldHTML, MultipleCustomer => \@MultipleCustomer, HideAutoselected => $HideAutoselectedJSON,