From 3330e749bb45c25125b7196d4e05132fb43c8922 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 1 Dec 2019 01:35:32 +0100 Subject: [PATCH] debuggage --- nconnector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nconnector.php b/nconnector.php index c9bc0bb..e8af272 100755 --- a/nconnector.php +++ b/nconnector.php @@ -64,9 +64,9 @@ while ($user = $doldb->result->fetch_assoc()) write_status( $insert, $user["login"], $user["fk_user_valid"] ); } // vérification si l'utilisateur est à jour de cotisation - $datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']); echo "vérification"; + $datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']); + $interval = new DateInterval('P0000Y02M00D'); echo "vérification"; - $interval = new DateInterval('P0000Y02M00D'); print_r($datefin); $datefin->add($interval); print_r($datefin);