Skip to content

Commit b711ce6

Browse files
committed
BUG#AC-2052: TypeError when loading UPS shipping rates if no allowed shipping methods selected - issue fixed
1 parent 4f3bd0d commit b711ce6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Ups/Model/Carrier.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,10 +1350,9 @@ public function getResponse()
13501350
}
13511351
}
13521352
}
1353-
if (empty($statuses)) {
1353+
if (!$statuses) {
13541354
$statuses = __('Empty response');
13551355
}
1356-
13571356
return $statuses;
13581357
}
13591358

0 commit comments

Comments
 (0)