debuggage
This commit is contained in:
parent
7919a6af58
commit
ae6e756a81
@ -64,9 +64,9 @@ while ($user = $doldb->result->fetch_assoc())
|
|||||||
write_status( $insert, $user["login"], $user["fk_user_valid"] );
|
write_status( $insert, $user["login"], $user["fk_user_valid"] );
|
||||||
}
|
}
|
||||||
// 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']);print_r($datefin);
|
||||||
$interval = new DateInterval('P0000Y02M00D');
|
$interval = new DateInterval('P0000Y02M00D');
|
||||||
print_r($datefin); echo "vérification";
|
echo "vérification";
|
||||||
|
|
||||||
$datefin->add($interval);
|
$datefin->add($interval);
|
||||||
print_r($datefin);
|
print_r($datefin);
|
||||||
|
Reference in New Issue
Block a user