Create and pass empty $to to workflow

This commit is contained in:
Fraser Murray
2016-10-10 13:28:11 +01:00
committed by GitHub
parent 7e7e8cfbd4
commit 414d1ee8a1

View File

@@ -68,6 +68,7 @@ class ClientTicketController extends Controller
$fromaddress = $user_cred->email;
$fromname = $user_cred->user_name;
$to = '';
$phone = '';
$phonecode = '';
$mobile_number = '';
@@ -86,7 +87,7 @@ class ClientTicketController extends Controller
$inline_attachment = null;
$this->TicketWorkflowController->workflow($fromaddress, $fromname, $subject, $body, $phone, $phonecode, $mobile_number, $helptopic, $sla, $priority, $source, $collaborator, $dept, $assign, $team_assign, $ticket_status, $form_data, $auto_response, $inline_attachment);
$this->TicketWorkflowController->workflow($fromaddress, $fromname, $to, $subject, $body, $phone, $phonecode, $mobile_number, $helptopic, $sla, $priority, $source, $collaborator, $dept, $assign, $team_assign, $ticket_status, $form_data, $auto_response, $inline_attachment);
return \Redirect::back()->with('success1', Lang::get('lang.successfully_replied'));
}