Salary ka chakkar babu bhaiya

Ahkir me boss ko impress krne par hi to paisa milega, community jaaye bhaad me
This commit is contained in:
Manish Verma
2021-03-15 14:00:51 +05:30
parent eb11b11d37
commit f5727554e1

View File

@@ -125,7 +125,7 @@ class TicketController extends Controller
$source = Ticket_source::where('name', '=', 'agent')->first();
$headers = null;
$help = Help_topic::where('id', '=', $helptopic)->first();
$form_data = $request->except('name', 'phone', 'email', 'subject', 'body', 'helptopic', '_wysihtml5_mode', '_token', 'mobile', 'code', 'priority', 'attachment', 'first_name', 'last_name', 'sla', 'duedate', 'assignto');
$form_data = $request->except('name', 'phone', 'email', 'subject', 'body', 'helptopic', '_wysihtml5_mode', '_token', 'mobile', 'code', 'priority', 'attachment', 'first_name', 'last_name', 'sla', 'duedate', 'assignto', 'files');//added "files" in exception list because some fool has added a new editor 'summernote' to impress his boss and screwed the functional code with his genius ability. Hence to make world capable of handling this genius's work I am adding a shitty workaround for it. After looking for solution everywhere and referring to https://stackoverflow.com/questions/59938588/summernote-adds-files-field-to-post
$auto_response = 0;
$status = 1;
if ($phone != null || $mobile_number != null) {