bug $datefin au lieu de user['datefin']
This commit is contained in:
parent
0e3b864ecb
commit
042999aeb4
@ -66,8 +66,8 @@ while ($user = $doldb->result->fetch_assoc())
|
||||
write_status( $insert, $user["login"], $user["fk_user_valid"], $ncdb );
|
||||
}
|
||||
// vérification si l'utilisateur est à jour de cotisation
|
||||
echo "datefin => $datefin";
|
||||
if( !empty($datefin) )
|
||||
echo "datefin => $user['datefin']";
|
||||
if( !empty($user['datefin']) )
|
||||
{
|
||||
$datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']);
|
||||
$interval = new DateInterval('P0000Y02M00D');
|
||||
|
Reference in New Issue
Block a user