diff --git a/admin/controllers/settings.php b/admin/controllers/settings.php index a253e9a7..4a0b3ab1 100644 --- a/admin/controllers/settings.php +++ b/admin/controllers/settings.php @@ -37,6 +37,8 @@ function setSettings($args) else { Log::set(__METHOD__.LOG_SEP.'Error occurred when trying to save the settings.'); } + + return true; } // ============================================================================ @@ -50,6 +52,7 @@ function setSettings($args) if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { setSettings($_POST); + Redirect::page('admin', $layout['controller']); } // ============================================================================