diff --git a/htdocs/ticket/contact.php b/htdocs/ticket/contact.php index 330dd4baa69..cad04631bc7 100644 --- a/htdocs/ticket/contact.php +++ b/htdocs/ticket/contact.php @@ -62,6 +62,9 @@ $url_page_current = DOL_URL_ROOT.'/ticket/contact.php'; $hookmanager->initHooks(array('contactticketcard', 'globalcard')); $object = new Ticket($db); +if ($id > 0 || $ref || $track_id) { + $result = $object->fetch($id, $ref, $track_id); +} // Security check $id = GETPOSTINT("id");