JNeuhoff wrote:For the Admin, in file admin/model/localisation/country.php, change it to:rph wrote:To get back on topic a bit, for the country cache we have
CatalogAdminCode: Select all
if (!$country_data) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "country WHERE status = '1' ORDER BY name ASC"); $country_data = $query->rows; $this->cache->set('country', $country_data); }
Code: Select all
if (!$country_data) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "country ORDER BY name ASC"); $country_data = $query->rows; $this->cache->set('country', $country_data); }
It's a different query compared to the frontend, therefore needs a different cache name.Code: Select all
..... $country_data = $this->cache->get('admin_country'); if (!$country_data) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "country ORDER BY name ASC"); $country_data = $query->rows; $this->cache->set('admin_country', $country_data); } .....
fixed in svn will upload in a bit.