From 66fdc27f81e57e3fcdc6c7bff1cf58275b9454fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sun, 16 Dec 2001 14:43:22 +0000 Subject: [PATCH] back to previous version (last one does not fix the bug #493200 but creates a new one) --- footer.inc.php3 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/footer.inc.php3 b/footer.inc.php3 index ef05833b3..b16b8afea 100755 --- a/footer.inc.php3 +++ b/footer.inc.php3 @@ -8,12 +8,10 @@ /** * Close MySql non-persistent connections */ -if (!$cfgPersistentConnections - && (isset($dbh) && $dbh)) { +if (isset($dbh) && $dbh) { @mysql_close($dbh); } -if (!$cfgPersistentConnections - && (isset($userlink) && $userlink)) { +if (isset($userlink) && $userlink) { @mysql_close($userlink); } ?>