undefined Zone::get_code

Ask the community for help and support.
Post Reply
Piernas
Posts: 96
Joined: Thu Mar 11, 2021 2:16 am
Has thanked: 2 times
Been thanked: 4 times

undefined Zone::get_code

Post by Piernas »

In admin/includes/functions/general:

Code: Select all

  function tep_get_zone_code($country, $zone, $default_state) {
    return Zone::get_code($zone, $country, $default_state);
  }
Throws an error. I think it should be:

Code: Select all

  function tep_get_zone_code($country, $zone, $default_state) {
    return Zone::fetch_code($zone, $country, $default_state);
  }
Post Reply