CRM-16823 - Contact Image does not display on contact summary screen when loaded...
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 13 Jul 2015 07:25:37 +0000 (12:55 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 13 Jul 2015 07:25:37 +0000 (12:55 +0530)
CRM/Contribute/Form/Contribution/Confirm.php

index 7896a9ddaf343afd2f435f593fea1ddc0796e676..69856982eaaeb3a05c498a879ac1bda3dfaa81d7 100644 (file)
@@ -700,10 +700,10 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
     if ($paymentProcessorId = CRM_Utils_Array::value('id', $this->_paymentProcessor)) {
       $this->_params['payment_processor_id'] = $paymentProcessorId;
     }
+    $premiumParams = $membershipParams = $params = $this->_params;
     if (!empty($params['image_URL'])) {
       CRM_Contact_BAO_Contact::processImageParams($params);
     }
-    $premiumParams = $membershipParams = $params = $this->_params;
     $fields = array('email-Primary' => 1);
 
     // get the add to groups