POST /tickets/newmessage could only reach a ticket via its track_id (fetch was hardcoded to id=0). This resolves the ticket by id, then ref, then track_id (kept as fallback), so integrations that store the Dolibarr ticket id can append messages without knowing the track_id. |
||
|---|---|---|
| .. | ||
| actions_ticket.class.php | ||
| api_tickets.class.php | ||
| cticketcategory.class.php | ||
| ticket.class.php | ||
| ticketstats.class.php | ||