Skip to content
Snippets Groups Projects
Commit e1410ea6 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix crash viewing tickets on client portal

parent 87fe9474
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ if($_REQUEST['id']) {
if (!$ticket && $thisclient->isGuest())
Http::redirect('view.php');
$tform = TicketForm::getInstance()->getForm();
$tform = TicketForm::objects()->one()->getForm();
$messageField = $tform->getField('message');
$attachments = $messageField->getWidget()->getAttachments();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment