From: Seamus Lee Date: Tue, 26 Jul 2016 05:50:40 +0000 (+1000) Subject: Fix up settting of input value X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=72a4cc3859a0252e38a743f994c7f89aa9e4987e;p=civicrm-core.git Fix up settting of input value --- diff --git a/CRM/Contribute/Form/Task/PDF.php b/CRM/Contribute/Form/Task/PDF.php index eea606e755..0dd94859e6 100644 --- a/CRM/Contribute/Form/Task/PDF.php +++ b/CRM/Contribute/Form/Task/PDF.php @@ -182,12 +182,11 @@ AND {$this->_componentClause}"; $input['trxn_date'] = isset($contribution->trxn_date) ? $contribution->trxn_date : NULL; $input['receipt_update'] = $params['receipt_update']; $input['contribution_status_id'] = $contribution->contribution_status_id; - $payment_processor_id = CRM_Core_DAO::singleValueQuery("SELECT payment_processor_id + $input['paymentProcessor'] = CRM_Core_DAO::singleValueQuery("SELECT payment_processor_id FROM civicrm_financial_trxn WHERE trxn_id = %1 LIMIT 1", array( 1 => array($contribution->trxn_id, 'String'))); - $input['paymentProcessor'] = $payment_processor_id; // CRM_Contribute_BAO_Contribution::composeMessageArray expects mysql formatted date $objects['contribution']->receive_date = CRM_Utils_Date::isoToMysql($objects['contribution']->receive_date);