Changeset 322
- Timestamp:
- Apr 11, 2008 9:14:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/AuthorizeNet.inc.php
r316 r322 122 122 // Set default parameters. 123 123 $this->_params = $this->_default_params; 124 $this->setParam($params); 124 125 125 126 $this->setParam(array('md5_hash_salt' => $app->getParam('signing_key'))); … … 222 223 function getResult($key=null) 223 224 { 224 if (isset($key) && isset($this->_results[$key])) { 225 return $this->_results[$key]; 225 if (isset($key)) { 226 if (isset($this->_results[$key])) { 227 return $this->_results[$key]; 228 } else { 229 return null; 230 } 226 231 } else { 227 232 return $this->_results;
Note: See TracChangeset
for help on using the changeset viewer.