al_fernandes Posted April 11, 2005 Share Posted April 11, 2005 In Admin int the configuration (genral infos) I receive the folowing message: Warning: Missing argument 2 for tep_get_zone_name() in c:\programas\easyphp1-8\www\catalog\admin\includes\functions\general.php on line 270 Warning: Missing argument 3 for tep_get_zone_name() in c:\programas\easyphp1-8\www\catalog\admin\includes\functions\general.php on line 270 In teh file \catalog\admin\includes\functions\general.php the code is as follow (line 270): function tep_get_zone_name($country_id, $zone_id, $default_zone) { $zone_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country_id . "' and zone_id = '" . (int)$zone_id . "'"); if (tep_db_num_rows($zone_query)) { $zone = tep_db_fetch_array($zone_query); return $zone['zone_name']; } else { return $default_zone; } } Can anyoone help me? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.