Details
Description
On PHP 8.2 and 8.3, clients see custom fields as disabled even if client can add is enabled.
Create text field, all 3 options enabled.
Login as client try to create ticket, note field is disabled.
On PHP 8.2 and 8.3, clients see custom fields as disabled even if client can add is enabled.
Create text field, all 3 options enabled.
Login as client try to create ticket, note field is disabled.
To fix- In plugins/support_manager/controllers/client_tickets.php around line 788 change
if ($field->client_add !== 1 || ($field->client_add == 1 && !empty($vars[$field->id]))) { $disabled = ['disabled' => 'disabled']; }
To:
if ($field->client_add != 1 || ($field->client_add == 1 && !empty($vars[$field->id]))) { $disabled = ['disabled' => 'disabled']; }