From 4a111234a0e73578313d1c1cd03499cabb9b478d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Mon, 10 Sep 2012 15:43:58 +0200 Subject: [PATCH] Fix: removed warning --- htdocs/install/etape2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/install/etape2.php b/htdocs/install/etape2.php index b8373847c25..b4701481a87 100644 --- a/htdocs/install/etape2.php +++ b/htdocs/install/etape2.php @@ -607,5 +607,5 @@ dolibarr_install_syslog("--- install/etape2.php end", LOG_INFO); pFooter(!$ok,$setuplang); -$db->close(); +if (isset($db) && is_object($db)) $db->close(); ?> \ No newline at end of file -- GitLab