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:
018025b
)
fix mis-cased classname
author
Eileen
<eileen@fuzion.co.nz>
Mon, 19 May 2014 08:11:07 +0000
(
04:11
-0400)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Mon, 19 May 2014 08:13:44 +0000
(20:13 +1200)
CRM/Core/Payment/AuthorizeNet.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Payment/AuthorizeNet.php
b/CRM/Core/Payment/AuthorizeNet.php
index a30e6ca7a81b78bdbd6a74370d9c6efe653d5ff9..30d33ffa44d85d566043e9e58ce17b15ff7edad8 100644
(file)
--- a/
CRM/Core/Payment/AuthorizeNet.php
+++ b/
CRM/Core/Payment/AuthorizeNet.php
@@
-187,7
+187,7
@@
class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
if (($this->_mode == 'test') || $response_fields[6] == 0) {
$query = "SELECT MAX(trxn_id) FROM civicrm_contribution WHERE trxn_id RLIKE 'test[0-9]+'";
$p = array();
- $trxn_id = strval(CRM_Core_D
ao
::singleValueQuery($query, $p));
+ $trxn_id = strval(CRM_Core_D
AO
::singleValueQuery($query, $p));
$trxn_id = str_replace('test', '', $trxn_id);
$trxn_id = intval($trxn_id) + 1;
$params['trxn_id'] = sprintf('test%08d', $trxn_id);