From 49360f04d3fe1ae83d9792831daa94dfcd099942 Mon Sep 17 00:00:00 2001 From: Manish Verma Date: Fri, 17 Dec 2021 06:50:43 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Http/Controllers/Agent/helpdesk/TicketController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Agent/helpdesk/TicketController.php b/app/Http/Controllers/Agent/helpdesk/TicketController.php index b72e16ba7..18d023c00 100755 --- a/app/Http/Controllers/Agent/helpdesk/TicketController.php +++ b/app/Http/Controllers/Agent/helpdesk/TicketController.php @@ -486,9 +486,9 @@ class TicketController extends Controller public function ticket_print($id) { $tickets = Tickets::leftJoin('ticket_thread', function ($join) { - $join->on('tickets.id', '=', 'ticket_thread.ticket_id') + $join->on('tickets.id', '=', 'ticket_thread.ticket_id') ->whereNotNull('ticket_thread.title'); - }) + }) ->leftJoin('department', 'tickets.dept_id', '=', 'department.id') ->leftJoin('help_topic', 'tickets.help_topic_id', '=', 'help_topic.id') ->where('tickets.id', '=', $id)