From c0f44dd277579acf01cee466eed4ae971e6cf696 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Wed, 29 Apr 2015 11:49:27 -0400 Subject: [PATCH] CRM-14588: Format date fields in contribution confirm page (fix code style). --- CRM/Core/Form/Renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Form/Renderer.php b/CRM/Core/Form/Renderer.php index 3c1117578b..054ae09f98 100644 --- a/CRM/Core/Form/Renderer.php +++ b/CRM/Core/Form/Renderer.php @@ -120,7 +120,7 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty { if ($element->getAttribute('data-api-entity') && $element->getAttribute('data-entity-value')) { $this->renderFrozenEntityRef($el, $element); } - elseif ($element->getAttribute('type') == 'text' && ! empty($element->getAttribute('format'))) { + elseif ($element->getAttribute('type') == 'text' && !empty($element->getAttribute('format'))) { $this->renderFrozenDate($el, $element); } -- 2.25.1