diff --git a/api/dao/canned_dao.php b/api/dao/canned_dao.php index 37f17aaa..ea653942 100644 --- a/api/dao/canned_dao.php +++ b/api/dao/canned_dao.php @@ -14,6 +14,8 @@ function get_canned_response($hesk_settings, $id = NULL) { $results = []; while ($row = hesk_dbFetchAssoc($response)) { + $row['id'] = intval($row['id']); + $row['reply_order'] = intval($row['reply_order']); $row['title'] = hesk_html_entity_decode($row['title']); $row['message'] = hesk_html_entity_decode($row['message']); $results[] = $row;