diff --git a/portal/portal_post.php b/portal/portal_post.php index 655d60c7..b504d0eb 100644 --- a/portal/portal_post.php +++ b/portal/portal_post.php @@ -44,10 +44,6 @@ if (isset($_POST['add_ticket'])) { if (isset($_POST['add_ticket_comment'])) { $ticket_id = intval($_POST['ticket_id']); - - // Not currently providing the client portal with a full summer note editor, but need to maintain line breaks. - // In order to maintain line breaks consistently with the agent side, we need to allow HTML tags. - // So, we need to convert line breaks to HTML and clean HTML with HTML Purifier $comment = mysqli_real_escape_string($mysqli, $_POST['comment']); // After stripping bad HTML, check the comment isn't just empty diff --git a/portal/ticket_add.php b/portal/ticket_add.php index d788f723..e4fa4925 100644 --- a/portal/ticket_add.php +++ b/portal/ticket_add.php @@ -48,7 +48,7 @@ require_once('inc_portal.php');