Skip to content

Commit 6586c80

Browse files
committed
Show Method if Not Applicable
1 parent 7280797 commit 6586c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/AbstractCarrier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ protected function getTrackingResultStatus()
197197
*/
198198
protected function returnError($message)
199199
{
200-
if ($this->getConfigData('debug')) {
200+
if ($this->getConfigData('showmethod')) {
201201
$error = $this->_rateErrorFactory->create();
202202
$error->setCarrier($this->_code);
203203
$error->setCarrierTitle($this->getConfigData('title'));

0 commit comments

Comments
 (0)