Page 1 of 1

undefined Zone::get_code

Posted: Sun Jul 04, 2021 11:06 am
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);
  }