Skip to content

Commit

Permalink
Fix erroneous call to getText() method on a string.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Agnese committed May 28, 2024
1 parent 1b86733 commit 254a847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ public function getAllowedMethods()
$methods = [];
foreach ($availableByTypeMethods as $methodCode => $methodData) {
if (in_array($methodCode, $allowedMethods)) {
$methods[$methodCode] = $methodData->getText();
$methods[$methodCode] = $methodData;
}
}

Expand Down

0 comments on commit 254a847

Please sign in to comment.