Ex. I have it working like:
Code: Select all
if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validate()) {
$this->model_setting_setting->editSetting('site_guard_srl', $this->request->post);
}
if (isset($this->request->post['site_guard_rl_customer_exempt'])) {
$data['site_guard_rl_customer_exempt'] = $this->request->post['site_guard_rl_customer_exempt'];
} else {
$data['site_guard_rl_customer_exempt'] = $this->config->get('site_guard_rl_customer_exempt');
}
THERE ARE NO OTHER CHANGES.
Any idea?
Also note:
I also tried changing the names of the key names (both with the new and old code name), and when I do that the things no longer save as well.