summaryrefslogtreecommitdiff
path: root/controllers/config.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-08 17:11:17 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-08 17:11:17 -0500
commitf93ce1fd7fca1a7229a9c9da4f1f4a3f98823524 (patch)
tree583a1786e7a1c8c89eae14ec5326205dbe6b67be /controllers/config.php
parent1ae99f6a85743255c918af5c8321818a580b09cc (diff)
Minors improvements
Diffstat (limited to 'controllers/config.php')
-rw-r--r--controllers/config.php3
1 files changed, 2 insertions, 1 deletions
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(