Send all enabled custom fields
This commit is contained in:
parent
a2c98a5a26
commit
2b0d2bb9cc
@ -58,7 +58,7 @@ class Ticket {
|
|||||||
|
|
||||||
$ticket->customFields = array();
|
$ticket->customFields = array();
|
||||||
foreach ($heskSettings['custom_fields'] as $key => $value) {
|
foreach ($heskSettings['custom_fields'] as $key => $value) {
|
||||||
if ($value['use'] == 1 && hesk_is_custom_field_in_category($key, intval($ticket->categoryId))) {
|
if ($value['use'] && hesk_is_custom_field_in_category($key, intval($ticket->categoryId))) {
|
||||||
$ticket->customFields[str_replace('custom', '', $key)] = $row[$key];
|
$ticket->customFields[str_replace('custom', '', $key)] = $row[$key];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user