From 45a70d7dc3c8b8a33fcf91aefc9aa38ce8ede3fd Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 1 Oct 2015 12:41:29 +0200 Subject: [PATCH] Fix: wrong test --- htdocs/install/inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/install/inc.php b/htdocs/install/inc.php index 052e0a8b57f..e5ad6f019a1 100644 --- a/htdocs/install/inc.php +++ b/htdocs/install/inc.php @@ -83,7 +83,7 @@ if (! defined('DONOTLOADCONF') && file_exists($conffile)) if ($result) { if (empty($dolibarr_main_db_type)) $dolibarr_main_db_type='mysqli'; // For backward compatibility - if (empty($dolibarr_main_db_port) && ($dolibarr_main_db_type='mysqli' || $dolibarr_main_db_type='mysql')) $dolibarr_main_db_port='3306'; // For backward compatibility + if (empty($dolibarr_main_db_port) && ($dolibarr_main_db_type=='mysqli' || $dolibarr_main_db_type=='mysql')) $dolibarr_main_db_port='3306'; // For backward compatibility // Clean parameters $dolibarr_main_data_root =isset($dolibarr_main_data_root)?trim($dolibarr_main_data_root):'';