-
Type: Bug Report
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1.3, 5.2.2
-
Fix Version/s: 5.2.2-B3
-
Component/s: Shipping Engine
-
Labels:None
-
Change Log Group:Fixed
-
Change Log Message:Fixed fatal error on PHP 7.2+.
-
Story Points:1
-
Copy Issue Key:
-
Patch Instructions:
- from "ShippingQuoteCollector::GetShippingQuotes" method extract logic inside "if (is_array($limit_types) && !in_array('ANY', $limit_types)) {" statement, that goes after "if (count($limit_types) == 0) { break; }}}" code into protected "{{applyLimitationsToShippingTypes(array $shipping_types, $limit_types)" method
- instead of doing "break;" when "$limit_types" array isn't empty do: $shipping_types = $this->applyLimitationsToShippingTypes($shipping_types, $limit_types);
- implemented in
-
[Diffusion] rMINC16640 Fixes MINC-195 - Don't use "break" during shipping quote aggregation
-
D348 MINC-195 Don't use "break" during shipping quote aggregation
- mentioned in
-
Page Loading...