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:
Zephyriony 2024-05-21 16:00:59 +02:00 committed by GitHub
parent de3dcc7194
commit 2707445dbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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");