Skip to content

Commit

Permalink
PES-2118: ShippingMethod fix (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-potuznik-z authored Jun 3, 2024
1 parent 064aebf commit ff25a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Packetery/Module/ShippingMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function calculate_shipping( $package = [] ): void {
* @return array
*/
public function get_instance_form_fields(): array {
if ( ! $this->wcCarrierSettingsConfig->isActive() ) {
if ( ! $this->optionsProvider->isWcCarrierConfigEnabled() ) {
return [];
}

Expand Down

0 comments on commit ff25a6e

Please sign in to comment.