diff --git a/core/templates/installation.php b/core/templates/installation.php
index 70a545d66cf0f7f0b525c43dcdfb9c49c8799764..f1cde6b39048102ebb323ea52bec93b640966208 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']): ?>