Improve ticket template API
This commit is contained in:
parent
ff4c3bfc99
commit
3129adda88
@ -14,6 +14,8 @@ function get_ticket_template($hesk_settings, $id = NULL) {
|
||||
|
||||
$results = [];
|
||||
while ($row = hesk_dbFetchAssoc($response)) {
|
||||
$row['id'] = intval($row['id']);
|
||||
$row['tpl_order'] = intval($row['tpl_order']);
|
||||
$row['title'] = hesk_html_entity_decode($row['title']);
|
||||
$row['message'] = hesk_html_entity_decode($row['message']);
|
||||
$results[] = $row;
|
||||
|
Loading…
x
Reference in New Issue
Block a user