From: monishdeb Date: Thu, 12 Mar 2015 07:01:01 +0000 (+0530) Subject: CRM-16092 fix - Incorrect API call in Civi/Payment/System.php X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=09fbc53cbbfb949d7cb0c1f51485de24660f98bb;p=civicrm-core.git CRM-16092 fix - Incorrect API call in Civi/Payment/System.php https://issues.civicrm.org/jira/browse/CRM-16092 --- 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); }