You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
512 B
PHP
17 lines
512 B
PHP
<?php
|
|
|
|
namespace DataAccess\Tickets;
|
|
|
|
|
|
use DataAccess\CommonDao;
|
|
|
|
class ReplyGateway extends CommonDao {
|
|
function insertReply($ticketId, $name, $message, $html, $heskSettings) {
|
|
$this->init();
|
|
|
|
hesk_dbQuery("INSERT INTO `" . hesk_dbEscape($heskSettings['db_pfix']) . "replies` (`replyto`,`name`,`message`,`dt`,`attachments`, `html`)
|
|
VALUES ({$ticketId},'" . hesk_dbEscape($name) . "','" . hesk_dbEscape($message) . "',NOW(),'','" . $html . "')");
|
|
|
|
$this->close();
|
|
}
|
|
} |