← All changes
|
src/Packetery/Module/Shipping/BaseShippingMethod.php
+1
-1
trunk
→
2.0.9
View file →
| @@ -70,9 +70,9 @@ | ||
| 70 | 70 | $this->title = __( 'Packeta', 'packeta' ); |
| 71 | 71 | // phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps |
| 72 | 72 | $this->method_description = __( 'Allows to choose one of Packeta delivery methods', 'packeta' ); |
| 73 | 73 | |
| 74 | - $carrier = $this->carrierRepository->getAnyById( static::CARRIER_ID, true ); | |
| 74 | + $carrier = $this->carrierRepository->getAnyById( static::CARRIER_ID ); | |
| 75 | 75 | if ( $carrier !== null ) { |
| 76 | 76 | // phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps |
| 77 | 77 | $this->method_title = $carrier->getName(); |
| 78 | 78 | $this->title = $carrier->getName(); |