From c0b011e71427ac25b13ac44d34eb3a747d17832b Mon Sep 17 00:00:00 2001 From: Brice Maron <brice@bmaron.net> Date: Fri, 14 Oct 2011 18:04:50 +0200 Subject: [PATCH] Initialise hasOtherDB var when not true in installation --- core/templates/installation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates/installation.php b/core/templates/installation.php index 70a545d66cf..f1cde6b3904 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -37,7 +37,7 @@ </fieldset> <fieldset id='databaseField'> - <?php if($_['hasMySQL'] or $_['hasPostgreSQL']) $hasOtherDB = true; //other than SQLite ?> + <?php if($_['hasMySQL'] or $_['hasPostgreSQL']) $hasOtherDB = true; else $hasOtherDB =false; //other than SQLite ?> <legend><?php echo $l->t( 'Configure the database' ); ?></legend> <div id="selectDbType"> <?php if($_['hasSQLite']): ?> -- GitLab