From 69e563599b46f398c13c6a2d685dda70129390dc Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 6 Jan 2015 14:56:55 -0800 Subject: [PATCH] INFRA-132 - CRM/Extension - Misc --- CRM/Extension/Manager/Payment.php | 33 ++++++++++++++++--------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/CRM/Extension/Manager/Payment.php b/CRM/Extension/Manager/Payment.php index 02b879f2d2..4fb95291ac 100644 --- a/CRM/Extension/Manager/Payment.php +++ b/CRM/Extension/Manager/Payment.php @@ -235,22 +235,23 @@ class CRM_Extension_Manager_Payment extends CRM_Extension_Manager_Base { 1 => array($info->name, 'String'), ) ); - if ($dao->fetch()) { $paymentProcessor = array( - 'id' => -1, - 'name' => $dao->title, - 'payment_processor_type_id' => $dao->id, - 'user_name' => 'nothing', - 'password' => 'nothing', - 'signature' => '', - 'url_site' => $dao->url_site_default, - 'url_api' => $dao->url_api_default, - 'url_recur' => $dao->url_recur_default, - 'url_button' => $dao->url_button_default, - 'subject' => '', - 'class_name' => $dao->class_name, - 'is_recur' => $dao->is_recur, - 'billing_mode' => $dao->billing_mode, - 'payment_type' => $dao->payment_type, + if ($dao->fetch()) { + $paymentProcessor = array( + 'id' => -1, + 'name' => $dao->title, + 'payment_processor_type_id' => $dao->id, + 'user_name' => 'nothing', + 'password' => 'nothing', + 'signature' => '', + 'url_site' => $dao->url_site_default, + 'url_api' => $dao->url_api_default, + 'url_recur' => $dao->url_recur_default, + 'url_button' => $dao->url_button_default, + 'subject' => '', + 'class_name' => $dao->class_name, + 'is_recur' => $dao->is_recur, + 'billing_mode' => $dao->billing_mode, + 'payment_type' => $dao->payment_type, ); } else { CRM_Core_Error::fatal("Unable to find payment processor in " . __CLASS__ . '::' . __METHOD__); -- 2.25.1