update v1.0.7.1
This commit is contained in:
@@ -276,8 +276,9 @@ class TicketController extends Controller
|
|||||||
$help = Help_topic::where('id', '=', $helptopic)->first();
|
$help = Help_topic::where('id', '=', $helptopic)->first();
|
||||||
$form_data = null;
|
$form_data = null;
|
||||||
$auto_response = 0;
|
$auto_response = 0;
|
||||||
|
$status = 1;
|
||||||
//create user
|
//create user
|
||||||
if ($this->create_user($email, $fullname, $subject, $body, $phone, $helptopic, $sla, $priority, $source->id, $headers, $help->department, $assignto, $form_data, $auto_response)) {
|
if ($this->create_user($email, $fullname, $subject, $body, $phone, $helptopic, $sla, $priority, $source->id, $headers, $help->department, $assignto, $form_data, $auto_response, $status)) {
|
||||||
return Redirect('newticket')->with('success', 'Ticket created successfully!');
|
return Redirect('newticket')->with('success', 'Ticket created successfully!');
|
||||||
} else {
|
} else {
|
||||||
return Redirect('newticket')->with('fails', 'fails');
|
return Redirect('newticket')->with('fails', 'fails');
|
||||||
|
Reference in New Issue
Block a user