From: Joseph Martin Date: Mon, 21 Mar 2016 04:18:45 +0000 (+1100) Subject: Updated formatting X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=699728ccdb25a164fde9557c0ec473bb1ace25ba;p=civicrm-core.git Updated formatting --- 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'] . ''; } }