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:
6b81240
)
further test fix - ensure test processors can be loaded by ID
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Tue, 21 Jul 2015 08:56:10 +0000
(20:56 +1200)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Tue, 21 Jul 2015 08:58:07 +0000
(20:58 +1200)
Civi/Payment/System.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Payment/System.php
b/Civi/Payment/System.php
index 2e69ad907c143b66572ae2c9c899f725f35a3661..7a19fb1092e871683b9d7e1eadfb531dd408f04c 100644
(file)
--- a/
Civi/Payment/System.php
+++ b/
Civi/Payment/System.php
@@
-78,7
+78,7
@@
class System {
* @throws \CiviCRM_API3_Exception
*/
public function getById($id) {
- $processor = civicrm_api3('payment_processor', 'getsingle', array('id' => $id));
+ $processor = civicrm_api3('payment_processor', 'getsingle', array('id' => $id
, 'is_test' => NULL
));
return self::getByProcessor($processor);
}