Get the user name

@Zuluru Zuluru
Thu, 05 Sep 2024 14:07:17 +0000

Use either
$ticket = $this->Tickets->get($id, contain: ['Users', 'Tags', 'TicketSnaps.Users']);
or my preference
$ticket = $this->Tickets->get($id, contain: ['Users', 'Tags', 'TicketSnaps' => ['Users']);

and then

<?= h($ticketSnap->user->first_name) ?>