From 6fed9943f8ea390811a71b13d6444b0fdf9a661a Mon Sep 17 00:00:00 2001 From: David Date: Tue, 19 Nov 2013 19:32:04 +0100 Subject: [PATCH] =?UTF-8?q?Bug=20:=20cl=C3=B4ture=20db=20connexion=20mis?= =?UTF-8?q?=20avant=20la=20derni=C3=A8re=20requ=C3=AAte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emailPoubelle.php | 4 ++-- lib/ep_function.php | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/emailPoubelle.php b/emailPoubelle.php index a8182db..1f9f9e0 100644 --- a/emailPoubelle.php +++ b/emailPoubelle.php @@ -216,8 +216,6 @@ if (isset($_POST['username']) && $_POST['username'] != '') { // minimal anti-spa unset($_COOKIE['email']); } } -// Close connexion DB -$dbco = null; ////////////////// // Printing form @@ -371,6 +369,8 @@ $dbco = null; getMessage(); die(); - } - return true; + } } ?>