diff --git a/admin/admin_settings.php b/admin/admin_settings.php index fc8d8569..8e6cffe4 100644 --- a/admin/admin_settings.php +++ b/admin/admin_settings.php @@ -1805,13 +1805,29 @@ if ( defined('HESK_DEMO') ) while ($row = $statusesRS->fetch_assoc()) { $checkedEcho = ($row['IsClosed'] == 1) ? 'checked="checked"' : ''; + $isDisabled = false; + if ($row['IsNewTicketStatus'] || $row['IsClosedByClient'] || $row['IsCustomerReplyStatus'] || + $row['IsStaffClosedOption'] || $row['IsStaffReopenedStatus'] || $row['IsDefaultStaffReplyStatus'] + || $row['LockedTicketStatus']) + { + $isDisabled = true; + } + echo '