Improve ticket template API

This commit is contained in:
Mike Koch 2015-11-05 22:02:07 -05:00
parent ff4c3bfc99
commit 3129adda88

View File

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