projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0f44dd
)
CRM-14588: Format date fields in contribution confirm page (fix for PHP 5.3 compat).
author
Mathieu Lutfy
<mathieu@bidon.ca>
Wed, 29 Apr 2015 15:59:22 +0000
(11:59 -0400)
committer
Mathieu Lutfy
<mathieu@bidon.ca>
Wed, 29 Apr 2015 15:59:22 +0000
(11:59 -0400)
CRM/Core/Form/Renderer.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Form/Renderer.php
b/CRM/Core/Form/Renderer.php
index 054ae09f98714b1cf4b3bba01e36fe4e8997c245..ca9967de0bd97ba25fb8c94abf6a11ff82c175b0 100644
(file)
--- 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' &&
$element->getAttribute('format'
)) {
$this->renderFrozenDate($el, $element);
}