diff --git a/main/install/install.lib.php b/main/install/install.lib.php
index f9ca1d3685..ec1c5b73a1 100755
--- a/main/install/install.lib.php
+++ b/main/install/install.lib.php
@@ -1438,26 +1438,19 @@ function display_database_settings_form(
$database_exists_text = $e->getMessage();
}
- if ($manager->getConnection()->isConnected()): ?>
-
-
-
- Database host: getConnection()->getHost(); ?>
- Database port: getConnection()->getPort(); ?>
- Database driver: getConnection()->getDriver()->getName(); ?>
-
-
-
-
-
-
-
-
-
+ if ($manager && $manager->getConnection()->isConnected()): ?>
+
+
+ Database host: getConnection()->getHost(); ?>
+ Database port: getConnection()->getPort(); ?>
+ Database driver: getConnection()->getDriver()->getName(); ?>
+
+
+
+