Skip to content

Commit

Permalink
Fix decision reply object
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaters committed Jul 7, 2016
1 parent f9676e3 commit 8853e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CybersourcePHP/Replies/DecisionReply.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct($decisionReply, $delimiter)
//Why must you do this?
if(!is_array($decisionReply->activeProfileReply->rulesTriggered->ruleResultItem))
{
$decisionReply->activeProfileReply->rulesTriggered->ruleREsultItem = array($decisionReply->activeProfileReply->rulesTriggered->ruleResultItem);
$decisionReply->activeProfileReply->rulesTriggered->ruleResultItem = array($decisionReply->activeProfileReply->rulesTriggered->ruleResultItem);
}
foreach($decisionReply->activeProfileReply->rulesTriggered->ruleResultItem as $rule)
{
Expand Down

0 comments on commit 8853e87

Please sign in to comment.