From bbc61f7f0aad871aa934f42f55882ace6420cce9 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 1 Dec 2019 00:55:56 +0100 Subject: [PATCH] debuggage --- nconnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nconnector.php b/nconnector.php index 96a4b6c..327f755 100755 --- a/nconnector.php +++ b/nconnector.php @@ -67,7 +67,7 @@ while ($user = $doldb->result->fetch_assoc()) $datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']); $interval = new DateInterval('P0000Y02M00D'); $datefin->add($interval); - if ( $datefin->getTimestamp() <= mktime() ) + if ( $datefin->getTimestamp() <= time() ) { echo "write_status( $insert, " . $user['login'] . ", 0 )"; }elseif ( $status == 0 )