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 )