From: Mathieu Lutfy Date: Wed, 29 Apr 2015 15:49:27 +0000 (-0400) Subject: CRM-14588: Format date fields in contribution confirm page (fix code style). X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c0f44dd277579acf01cee466eed4ae971e6cf696;p=civicrm-core.git CRM-14588: Format date fields in contribution confirm page (fix code style). --- 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); }