diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-08 21:42:08 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-08 21:42:08 -0500 |
commit | 36de36dad9928fd5d61a8bd4be45c79707f1aaae (patch) | |
tree | a9b79f71e36026f88fd1b44fcbd7ca471fb39277 /app/Controller | |
parent | d01b2271d377a68bfb68586d72978792879eb6e6 (diff) |
Improve settings pages layout
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/CustomFilterController.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Controller/CustomFilterController.php b/app/Controller/CustomFilterController.php index b0b2daff..dfe1ffc4 100644 --- a/app/Controller/CustomFilterController.php +++ b/app/Controller/CustomFilterController.php @@ -167,13 +167,14 @@ class CustomFilterController extends BaseController if ($valid) { if ($this->customFilterModel->update($values)) { $this->flash->success(t('Your custom filter have been updated successfully.')); - return $this->response->redirect($this->helper->url->to('CustomFilterController', 'index', array('project_id' => $project['id']))); + $this->response->redirect($this->helper->url->to('CustomFilterController', 'index', array('project_id' => $project['id'])), true); + return; } else { $this->flash->failure(t('Unable to update custom filter.')); } } - return $this->edit($values, $errors); + $this->edit($values, $errors); } private function checkPermission(array $project, array $filter) |