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:
bf4253e
)
CRM-16357 (Backoffice contribution Form) enotice fix
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Mon, 4 May 2015 08:57:10 +0000
(20:57 +1200)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Mon, 4 May 2015 08:57:10 +0000
(20:57 +1200)
Civi/Payment/System.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Payment/System.php
b/Civi/Payment/System.php
index bef62f79dd5bb2167f1fa8cd3a1a69e4df16c810..a32a319c544e7ff0b76a9f5f50f11be471171b84 100644
(file)
--- a/
Civi/Payment/System.php
+++ b/
Civi/Payment/System.php
@@
-52,7
+52,7
@@
class System {
require_once str_replace('_', DIRECTORY_SEPARATOR, $paymentClass) . '.php';
}
- $this->cache[$id] = new $paymentClass(
$processor['is_test']
? 'test' : 'live', $processor);
+ $this->cache[$id] = new $paymentClass(
!empty($processor['is_test'])
? 'test' : 'live', $processor);
}
}
return $this->cache[$id];