debuggage
This commit is contained in:
parent
ba9403455a
commit
67ce3ec5ac
@ -65,10 +65,10 @@ while ($user = $doldb->result->fetch_assoc())
|
|||||||
}
|
}
|
||||||
// vérification si l'utilisateur est à jour de cotisation
|
// vérification si l'utilisateur est à jour de cotisation
|
||||||
$datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']);
|
$datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']);
|
||||||
|
|
||||||
$interval = new DateInterval('P0000Y02M00D');
|
$interval = new DateInterval('P0000Y02M00D');
|
||||||
print_r($interval);
|
|
||||||
$datefin->add($interval);
|
$datefin->add($interval);
|
||||||
|
print_r($datefin);
|
||||||
if ( $datefin->getTimestamp() <= time() )
|
if ( $datefin->getTimestamp() <= time() )
|
||||||
{
|
{
|
||||||
echo "write_status( $insert, " . $user['login'] . ", 0 )";
|
echo "write_status( $insert, " . $user['login'] . ", 0 )";
|
||||||
|
Reference in New Issue
Block a user