From: jitendrapurohit Date: Tue, 6 Dec 2016 06:38:28 +0000 (+0530) Subject: replace cj with $ and fix validation error X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=025cf9a2bdb6111bd6b41368ed61896a7b181e51;p=civicrm-core.git replace cj with $ and fix validation error --- diff --git a/CRM/Pledge/Form/Pledge.php b/CRM/Pledge/Form/Pledge.php index 599281f083..0c5758d275 100644 --- a/CRM/Pledge/Form/Pledge.php +++ b/CRM/Pledge/Form/Pledge.php @@ -355,6 +355,9 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form { if (!empty($this->_values['currency'])) { $this->assign('currency', $this->_values['currency']); } + elseif (!empty($this->_submitValues['currency'])) { + $this->assign('currency', $this->_submitValues['currency']); + } if ($this->_id && !$this->_isPending diff --git a/templates/CRM/Pledge/Form/Pledge.tpl b/templates/CRM/Pledge/Form/Pledge.tpl index 12489b494e..006c8b6242 100644 --- a/templates/CRM/Pledge/Form/Pledge.tpl +++ b/templates/CRM/Pledge/Form/Pledge.tpl @@ -148,46 +148,46 @@ {literal} {/literal}