Ticket autoclose: Clarify auto-close help wording; only show as ticket status option if enabled

This commit is contained in:
Marcus Hill
2023-05-08 09:43:46 +01:00
parent 03e0dd8f5e
commit 3a83a701b5
2 changed files with 6 additions and 5 deletions

View File

@@ -300,7 +300,9 @@ if (isset($_GET['ticket_id'])) {
<option <?php if ($ticket_status == 'Open') { echo "selected"; } ?> >Open</option>
<option <?php if ($ticket_status == 'Working') { echo "selected"; } ?> >Working</option>
<option <?php if ($ticket_status == 'On Hold') { echo "selected"; } ?> >On Hold</option>
<option <?php if ($ticket_status == 'Auto Close') { echo "selected"; } ?> >Auto Close</option>
<?php if($config_ticket_autoclose) { ?>
<option <?php if ($ticket_status == 'Auto Close') { echo "selected"; } ?> >Auto Close</option>
<?php } ?>
<option <?php if ($ticket_status == 'Closed') { echo "selected"; } ?> >Closed</option>
</select>
</div>