debuggage
This commit is contained in:
parent
bbc61f7f0a
commit
ac71fd4a50
@ -65,6 +65,7 @@ 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']);
|
||||||
|
echo "datefin=>" . $datefin;
|
||||||
$interval = new DateInterval('P0000Y02M00D');
|
$interval = new DateInterval('P0000Y02M00D');
|
||||||
$datefin->add($interval);
|
$datefin->add($interval);
|
||||||
if ( $datefin->getTimestamp() <= time() )
|
if ( $datefin->getTimestamp() <= time() )
|
||||||
|
Reference in New Issue
Block a user