From 09fbc53cbbfb949d7cb0c1f51485de24660f98bb Mon Sep 17 00:00:00 2001 From: monishdeb Date: Thu, 12 Mar 2015 12:31:01 +0530 Subject: [PATCH] CRM-16092 fix - Incorrect API call in Civi/Payment/System.php https://issues.civicrm.org/jira/browse/CRM-16092 --- Civi/Payment/System.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Civi/Payment/System.php b/Civi/Payment/System.php index 29538b64bf..bef62f79dd 100644 --- a/Civi/Payment/System.php +++ b/Civi/Payment/System.php @@ -63,7 +63,7 @@ class System { * @throws \CiviCRM_API3_Exception */ public function getById($id) { - $processor = civicrm_api3('payment_processor', 'get_single', array('id' => $id)); + $processor = civicrm_api3('payment_processor', 'getsingle', array('id' => $id)); return self::getByProcessor($processor); } @@ -73,7 +73,7 @@ class System { * @throws \CiviCRM_API3_Exception */ public function getByName($name, $is_test) { - $processor = civicrm_api3('payment_processor', 'get_single', array('name' => $name, 'is_test' => $is_test)); + $processor = civicrm_api3('payment_processor', 'getsingle', array('name' => $name, 'is_test' => $is_test)); return self::getByProcessor($processor); } -- 2.25.1