Skip to content

Commit 6286e05

Browse files
manuperezgosreichel
authored andcommitted
Fixed php error in file, usage of undefined variable
M1 team clearly did a typo with: $txnId
1 parent 8375c9b commit 6286e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public function getChildTransactions($types = null, $txnId = null, $recursive =
277277
}
278278
} else {
279279
foreach ($this->_children as $child) {
280-
if ($child->getTxnId() === $tnxId) {
280+
if ($child->getTxnId() === $txnId) {
281281
$transaction = $child;
282282
break;
283283
}

0 commit comments

Comments
 (0)