From f93ce1fd7fca1a7229a9c9da4f1f4a3f98823524 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 8 Feb 2014 17:11:17 -0500 Subject: Minors improvements --- controllers/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'controllers') diff --git a/controllers/config.php b/controllers/config.php index 96a6a085..e01b2082 100644 --- a/controllers/config.php +++ b/controllers/config.php @@ -32,11 +32,12 @@ class Config extends Base if ($this->config->save($values)) { $this->config->reload(); $this->session->flash(t('Settings saved successfully.')); - $this->response->redirect('?controller=config'); } else { $this->session->flashError(t('Unable to save your settings.')); } + + $this->response->redirect('?controller=config'); } $this->response->html($this->template->layout('config_index', array( -- cgit v1.2.3