diff --git a/install/steps/5-database.php b/install/steps/5-database.php index 39010818..5ebe18d9 100644 --- a/install/steps/5-database.php +++ b/install/steps/5-database.php @@ -76,9 +76,7 @@ if(!$error) { $saved = Settings::saveConfig($configToSave, BASE . 'config.local.php', $content); if($saved) { success($locale['step_database_config_saved']); - if(!$error) { - $_SESSION['saved'] = true; - } + $_SESSION['saved'] = true; } else { $_SESSION['config_content'] = $content;