projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29a0f2e
)
[REF] Ensure that the Manaual Payment Processor sets the _paymentProcessor variable...
author
Seamus Lee
<seamuslee001@gmail.com>
Thu, 18 Jun 2020 08:53:20 +0000
(18:53 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Thu, 18 Jun 2020 08:53:20 +0000
(18:53 +1000)
CRM/Core/Payment/Manual.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Payment/Manual.php
b/CRM/Core/Payment/Manual.php
index 0a311b48da916fbfd04420dec9c98312f15e220f..a2c7c5dd2593a0d65a0b9f9833a37007cd2a72c9 100644
(file)
--- a/
CRM/Core/Payment/Manual.php
+++ b/
CRM/Core/Payment/Manual.php
@@
-23,6
+23,19
@@
class CRM_Core_Payment_Manual extends CRM_Core_Payment {
*/
public function checkConfig() {}
+ /**
+ * Constructor.
+ */
+ public function __construct() {
+ $this->_paymentProcessor = [
+ 'payment_type' => 0,
+ 'billing_mode' => 0,
+ 'id' => 0,
+ 'url_recur' => '',
+ 'is_recur' => 0,
+ ];
+ }
+
/**
* Get billing fields required for this processor.
*