Update contact.php fetch object (#29727)
* Update contact.php fetch object * Update contact.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
de3dcc7194
commit
2707445dbe
1 changed files with 3 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue