- CRM_Core_Payment_Form::mapParams($this->_bltID, $this->_params, $paymentParams, TRUE);
+
+ // The only reason for merging in the 'contact_id' rather than ensuring it is set
+ // is that this patch is being done around the time of the stable release
+ // so more conservative approach is called for.
+ // In fact the use of $params and $this->_params & $this->_contactId vs $contactID
+ // needs rationalising.
+ $mapParams = array_merge(array('contact_id' => $contactID), $this->_params);
+ CRM_Core_Payment_Form::mapParams($this->_bltID, $mapParams, $paymentParams, TRUE);