diff --git a/app/Http/Controllers/Client/helpdesk/FormController.php b/app/Http/Controllers/Client/helpdesk/FormController.php index 1835b5189..5c1162ebc 100644 --- a/app/Http/Controllers/Client/helpdesk/FormController.php +++ b/app/Http/Controllers/Client/helpdesk/FormController.php @@ -180,10 +180,12 @@ class FormController extends Controller // $priority = $ticket_settings->first()->priority; $default_priority = Ticket_Priority::where('is_default', '=', 1)->first(); $user_priority = CommonSettings::where('id', '=', 6)->first(); - if ($user_priority->status == 0) { + if (!($request->input('priority'))) { $priority = $default_priority->priority_id; + } else { $priority = $request->input('priority'); + } $source = $ticket_source->where('name', '=', 'web')->first()->id; $attachments = $request->file('attachment'); diff --git a/resources/views/themes/default1/admin/helpdesk/manage/ticket_priority/index.blade.php b/resources/views/themes/default1/admin/helpdesk/manage/ticket_priority/index.blade.php index f74656881..9b89af90d 100644 --- a/resources/views/themes/default1/admin/helpdesk/manage/ticket_priority/index.blade.php +++ b/resources/views/themes/default1/admin/helpdesk/manage/ticket_priority/index.blade.php @@ -55,8 +55,9 @@ class="active" -
+ + {!! Lang::get('lang.current') !!}{!! Lang::get('lang.user_priority_status') !!} @@ -88,10 +89,10 @@ class="active"
-