From de339278bc1592ea78500222b1aee45a8387b504 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 10 Sep 2012 15:43:58 +0200 Subject: [PATCH] Fix: removed warning --- htdocs/install/etape2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/etape2.php b/htdocs/install/etape2.php index 0e07722c93d..9dfb54dbaef 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(); -?> \ No newline at end of file +if (isset($db) && is_object($db)) $db->close(); +?>