fix mis-cased classname
authorEileen <eileen@fuzion.co.nz>
Mon, 19 May 2014 08:11:07 +0000 (04:11 -0400)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 19 May 2014 08:13:44 +0000 (20:13 +1200)
CRM/Core/Payment/AuthorizeNet.php

index a30e6ca7a81b78bdbd6a74370d9c6efe653d5ff9..30d33ffa44d85d566043e9e58ce17b15ff7edad8 100644 (file)
@@ -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_Dao::singleValueQuery($query, $p));
+      $trxn_id           = strval(CRM_Core_DAO::singleValueQuery($query, $p));
       $trxn_id           = str_replace('test', '', $trxn_id);
       $trxn_id           = intval($trxn_id) + 1;
       $params['trxn_id'] = sprintf('test%08d', $trxn_id);