From 699728ccdb25a164fde9557c0ec473bb1ace25ba Mon Sep 17 00:00:00 2001 From: Joseph Martin Date: Mon, 21 Mar 2016 15:18:45 +1100 Subject: [PATCH] Updated formatting --- CRM/Core/Form/Renderer.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CRM/Core/Form/Renderer.php b/CRM/Core/Form/Renderer.php index 2ed3dd39de..fe987519c5 100644 --- a/CRM/Core/Form/Renderer.php +++ b/CRM/Core/Form/Renderer.php @@ -125,10 +125,11 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty { $date .= ($element->getAttribute('timeformat')) ? " $time" : ''; $el['html'] = $date . ''; } - if ($el['name'] == 'details'){ + if ($el['name'] == 'details') { $el['html'] = str_replace('
', '', $el['html']); $el['html'] = '' . html_entity_decode($el['html']) . ''; - }else{ + } + else { $el['html'] = '' . $el['html'] . ''; } } -- 2.25.1