From ff0d24a0dc96f4b251142002e5875f77a9d8a434 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Fri, 3 Aug 2012 10:26:39 +0200
Subject: [PATCH] Fix: Remove warning

---
 htdocs/install/fileconf.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php
index 6edca914e77..ac6cc6d460c 100644
--- a/htdocs/install/fileconf.php
+++ b/htdocs/install/fileconf.php
@@ -388,7 +388,7 @@ if (! empty($force_install_message))
 			name="db_pass"
 			value="<?php
 			$autofill=((! empty($dolibarr_main_db_pass))?$dolibarr_main_db_pass:$force_install_databasepass);
-			if ($dolibarr_main_prod) $autofill='';
+			if (! empty($dolibarr_main_prod)) $autofill='';
 			print dol_escape_htmltag($autofill);
 			?>"></td>
 		<td class="comment"><?php echo $langs->trans("AdminPassword"); ?></td>
-- 
GitLab