From f44bbd1d1b617f1d37a5eb53177a29b880742815 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 27 Jan 2015 14:00:01 +1300 Subject: [PATCH] fix to previous - don't assume trxn_id required --- CRM/Core/Payment/Dummy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/Dummy.php b/CRM/Core/Payment/Dummy.php index ab9be9614b..8bcf9809f9 100644 --- a/CRM/Core/Payment/Dummy.php +++ b/CRM/Core/Payment/Dummy.php @@ -34,7 +34,7 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment { public function setDoDirectPaymentResult($doDirectPaymentResult) { $this->_doDirectPaymentResult = $doDirectPaymentResult; if (empty($this->_doDirectPaymentResult['trxn_id'])) { - $this->_doDirectPaymentResult['trxn_id'] = (array) uniqid(); + $this->_doDirectPaymentResult['trxn_id'] = array(); } else { $this->_doDirectPaymentResult['trxn_id'] = (array) $doDirectPaymentResult['trxn_id']; -- 2.25.1