lat9 / edit_orders

Edit Orders: Updates for continued operation on Zen Cart v1.5.8 and later
GNU General Public License v2.0
5 stars 9 forks source link

remove extra database query.... #181

Closed proseLA closed 3 years ago

proseLA commented 3 years ago

https://github.com/lat9/edit_orders/blob/82f100bbd8b79dcc5c85b1a5c34a9d8aba6d662c/YOUR_ADMIN/includes/functions/extra_functions/edit_orders_functions.php#L582-L590

why couldn't line 586 just be:

'name' => $country_info->fields['countries_name']

lat9 commented 3 years ago

Because that's future proofing for the possibility of having multi-lingual countries.