From a24cafeacaff38233dc9430f97cc7218a9246578 Mon Sep 17 00:00:00 2001 From: aydreeihn <adriane@enhancesoft.com> Date: Thu, 7 Jun 2018 10:04:40 -0500 Subject: [PATCH] Minor Fix: For new tickets, hide the Ticket Notice dropdown if the 'New Ticket by Agent' autoresponse is disabled since no response will be sent --- include/staff/ticket-open.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/staff/ticket-open.inc.php b/include/staff/ticket-open.inc.php index daaa18a38..42d979948 100644 --- a/include/staff/ticket-open.inc.php +++ b/include/staff/ticket-open.inc.php @@ -162,6 +162,9 @@ if ($_POST) <br/><span class="error"><?php echo $errors['ccs']; ?></span> </td> </tr> + <?php + if ($cfg->notifyONNewStaffTicket()) { + ?> <tr class="no_border"> <td> <?php echo __('Ticket Notice');?>: @@ -174,6 +177,7 @@ if ($_POST) </select> </td> </tr> + <?php } ?> </table> </td> </tr> -- GitLab