diff --git a/setup.php b/setup.php index f7e2f2f2..886d523f 100644 --- a/setup.php +++ b/setup.php @@ -785,8 +785,7 @@ if(isset($_POST['add_database'])){ // Test database connection before writing it to config.php try { mysqli_connect($host, $username, $password, $database); - } - catch (Exception $e) { + } catch (Exception $e) { exit("Database connection failed - please check and try again

$e"); }