diff --git a/admin/admin_ticket.php b/admin/admin_ticket.php index 816c3c22..4b148211 100644 --- a/admin/admin_ticket.php +++ b/admin/admin_ticket.php @@ -1599,7 +1599,7 @@ function mfh_print_message() {

-
+
@@ -1608,51 +1608,12 @@ function mfh_print_message() {
- $v) { - if ($v['use'] && $v['place'] == 0 && hesk_is_custom_field_in_category($k, $ticket['category'])) { - if ($modsForHesk_settings['custom_field_setting']) { - $v['name'] = $hesklang[$v['name']]; - } - echo '
'; - echo '
' . $v['name'] . ':
'; - if ($v['type'] == 'date' && !empty($ticket[$k])) { - $dt = hesk_date($ticket[$k], false, false); - echo '
' . hesk_dateToString($dt, 0) . '
'; - } elseif ($v['type'] == 'email') { - echo ''; - } else { - echo '
' . $ticket[$k] . '
'; - } - echo '
'; - } - } - if ($ticket['message'] != '') { - ?> -
-
- -
-
- -
-
$v) { - if ($v['use'] && $v['place'] && hesk_is_custom_field_in_category($k, $ticket['category'])) { - if ($modsForHesk_settings['custom_field_setting']) { - $v['name'] = $hesklang[$v['name']]; - } + if ($v['use'] && $v['place'] == 0 && hesk_is_custom_field_in_category($k, $ticket['category'])) { echo '
'; echo '
' . $v['name'] . ':
'; - if ($v['type'] == 'date' && !empty($ticket[$k])) { - $dt = hesk_date($ticket[$k], false, false); - echo '
' . hesk_dateToString($dt, 0) . '
'; - } elseif ($v['type'] == 'email') { + if ($v['type'] == 'email') { echo ''; } else { echo '
' . $ticket[$k] . '
'; @@ -1662,6 +1623,39 @@ function mfh_print_message() { } ?>
+
+ +
+ $v) { + if ($v['use'] && $v['place'] && hesk_is_custom_field_in_category($k, $ticket['category'])) { + if ($first) { + echo ''; + } + ?>