$date .= ($element->getAttribute('timeformat')) ? " $time" : '';
$el['html'] = $date . '<input type="hidden" value="' . $element->getValue() . '" name="' . $element->getAttribute('name') . '">';
}
- if ($el['name'] == 'details'){
+ if ($el['name'] == 'details') {
$el['html'] = str_replace('<br />', '', $el['html']);
$el['html'] = '<span class="crm-frozen-field">' . html_entity_decode($el['html']) . '</span>';
- }else{
+ }
+ else {
$el['html'] = '<span class="crm-frozen-field">' . $el['html'] . '</span>';
}
}