replace cj with $ and fix validation error
[civicrm-core.git] / CRM / Pledge / Form / Pledge.php
index 599281f083a86a6eb984bb18f2d0f76453deb6c4..0c5758d2756a1739c3f440c7d10d1e0d695021af 100644 (file)
@@ -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