Dont show the reply card in ticket until a reply button is clicked

This commit is contained in:
johnnyq
2026-08-29 00:21:40 -04:00
parent 950d02d6ab
commit 087c75f3d7
3 changed files with 166 additions and 88 deletions

View File

@@ -1865,9 +1865,10 @@ if (isset($_POST['add_ticket_reply'])) {
// Defaults
$send_email = 0;
$ticket_reply_id = 0;
if ($_POST['public_reply_type'] == 1 ){
$public_reply_type = intval($_POST['public_reply_type'] ?? 0);
if ($public_reply_type == 1) {
$ticket_reply_type = 'Public';
} elseif ($_POST['public_reply_type'] == 2 ) {
} elseif ($public_reply_type == 2) {
$ticket_reply_type = 'Public';
$send_email = 1;
} else {