Ignore:
Timestamp:
Apr 18, 2007 10:16:21 PM (17 years ago)
Author:
quinn
Message:

Fixed LOG_ERROR -> LOG_ERR in AuthorizeNet?.inc.php.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/AuthorizeNet.inc.php

    r247 r250  
    176176        if (empty($this->_params['x_login'])) {
    177177            $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later.");
    178             $app->logMsg(sprintf('x_login not specified.', null), LOG_ERROR, __FILE__, __LINE__);
     178            $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    179179            return false;
    180180        }
    181181        if (empty($this->_params['x_card_num'])) {
    182182            $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later.");
    183             $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERROR, __FILE__, __LINE__);
     183            $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    184184            return false;
    185185        }
     
    221221    function getResult($key=null)
    222222    {
    223         if (isset($key)) {
     223        if (isset($key) && isset($this->_results[$key])) {
    224224            return $this->_results[$key];
    225225        } else {
Note: See TracChangeset for help on using the changeset viewer.